@Deprecated public enum NodeState extends Enum<NodeState>
NodeMetadata.Status
ComputeMetadataIncludingStatus.getStatus()
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final NodeState PENDING
NodeMetadata.Status.PENDING
public static final NodeState TERMINATED
NodeMetadata.Status.TERMINATED
public static final NodeState SUSPENDED
NodeMetadata.Status.SUSPENDED
public static final NodeState RUNNING
NodeMetadata.Status.RUNNING
public static final NodeState ERROR
NodeMetadata.Status.ERROR
public static final NodeState UNRECOGNIZED
NodeMetadata.Status.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 nullpublic static NodeState from(NodeMetadata.Status in)
public NodeMetadata.Status toStatus()
Copyright © 2009-2013 jclouds. All Rights Reserved.