public enum NodeState extends Enum<NodeState>
Enum Constant and Description |
---|
ERROR
There is an error on the node
|
PENDING
The node is in transition
|
RUNNING
The node is available for requests
|
SUSPENDED
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.
|
Modifier and Type | Method and Description |
---|---|
static NodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeState PENDING
public static final NodeState TERMINATED
public static final NodeState SUSPENDED
public static final NodeState RUNNING
public static final NodeState ERROR
public static final NodeState UNRECOGNIZED
public static NodeState[] values()
for (NodeState c : NodeState.values()) System.out.println(c);
public static NodeState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2009-2012 jclouds. All Rights Reserved.