org.jclouds.compute.domain
Enum NodeState

java.lang.Object
  extended by java.lang.Enum<NodeState>
      extended by org.jclouds.compute.domain.NodeState
All Implemented Interfaces:
Serializable, Comparable<NodeState>

Deprecated.

@Deprecated
public enum NodeState
extends Enum<NodeState>

Indicates the status of a node. Replaced by NodeMetadata.Status

Author:
Adrian Cole
See Also:
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

PENDING

public static final NodeState PENDING
Deprecated. 
The node is in transition

See Also:
NodeMetadata.Status.PENDING

TERMINATED

public static final NodeState TERMINATED
Deprecated. 
The node is visible, and in the process of being deleted.

See Also:
NodeMetadata.Status.TERMINATED

SUSPENDED

public static final NodeState SUSPENDED
Deprecated. 
The node is deployed, but suspended or stopped.

See Also:
NodeMetadata.Status.SUSPENDED

RUNNING

public static final NodeState RUNNING
Deprecated. 
The node is available for requests

See Also:
NodeMetadata.Status.RUNNING

ERROR

public static final NodeState ERROR
Deprecated. 
There is an error on the node

See Also:
NodeMetadata.Status.ERROR

UNRECOGNIZED

public static final NodeState UNRECOGNIZED
Deprecated. 
The state of the node is unrecognized.

See Also:
NodeMetadata.Status.UNRECOGNIZED
Method Detail

values

public static NodeState[] values()
Deprecated. 
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 (NodeState c : NodeState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NodeState valueOf(String name)
Deprecated. 
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 name
NullPointerException - if the argument is null

from

public static NodeState from(NodeMetadata.Status in)
Deprecated. 

toStatus

public NodeMetadata.Status toStatus()
Deprecated. 


Copyright © 2009-2012 jclouds. All Rights Reserved.