Package org.jclouds.compute.domain
Enum NodeMetadata.Status
- java.lang.Object
-
- java.lang.Enum<NodeMetadata.Status>
-
- org.jclouds.compute.domain.NodeMetadata.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<NodeMetadata.Status>
- Enclosing interface:
- NodeMetadata
public static enum NodeMetadata.Status extends Enum<NodeMetadata.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
There is an error on the nodePENDING
The node is in transitionRUNNING
The node is available for requestsSUSPENDED
The node is deployed, but suspended or stopped.TERMINATED
The node is visible, and in the process of being deleted.UNRECOGNIZED
The state of the node is unrecognized.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeMetadata.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static NodeMetadata.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final NodeMetadata.Status PENDING
The node is in transition
-
TERMINATED
public static final NodeMetadata.Status TERMINATED
The node is visible, and in the process of being deleted.
-
SUSPENDED
public static final NodeMetadata.Status SUSPENDED
The node is deployed, but suspended or stopped.
-
RUNNING
public static final NodeMetadata.Status RUNNING
The node is available for requests
-
ERROR
public static final NodeMetadata.Status ERROR
There is an error on the node
-
UNRECOGNIZED
public static final NodeMetadata.Status UNRECOGNIZED
The state of the node is unrecognized.
-
-
Method Detail
-
values
public static NodeMetadata.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NodeMetadata.Status c : NodeMetadata.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeMetadata.Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-