|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NodeState>
org.jclouds.compute.domain.NodeState
@Deprecated public enum NodeState
Indicates the status of a node. Replaced by NodeMetadata.Status
ComputeMetadataIncludingStatus.getStatus()| Enum Constant Summary | |
|---|---|
ERROR
Deprecated. There is an error on the node |
|
PENDING
Deprecated. The node is in transition |
|
RUNNING
Deprecated. The node is available for requests |
|
SUSPENDED
Deprecated. The node is deployed, but suspended or stopped. |
|
TERMINATED
Deprecated. The node is visible, and in the process of being deleted. |
|
UNRECOGNIZED
Deprecated. The state of the node is unrecognized. |
|
| Method Summary | |
|---|---|
static NodeState |
from(NodeMetadata.Status in)
Deprecated. |
NodeMetadata.Status |
toStatus()
Deprecated. |
static NodeState |
valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static NodeState[] |
values()
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NodeState PENDING
NodeMetadata.Status.PENDINGpublic static final NodeState TERMINATED
NodeMetadata.Status.TERMINATEDpublic static final NodeState SUSPENDED
NodeMetadata.Status.SUSPENDEDpublic static final NodeState RUNNING
NodeMetadata.Status.RUNNINGpublic static final NodeState ERROR
NodeMetadata.Status.ERRORpublic static final NodeState UNRECOGNIZED
NodeMetadata.Status.UNRECOGNIZED| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic static NodeState from(NodeMetadata.Status in)
public NodeMetadata.Status toStatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||