org.jclouds.cloudservers.domain
Enum ServerStatus

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

public enum ServerStatus
extends Enum<ServerStatus>

Servers contain a status attribute that can be used as an indication of the current server state. Servers with an ACTIVE status are available for use.

Note

When the system changes a server's status from BUILD to ACTIVE the system will not be immediately available. The 'ACTIVE' label is really misleading in the fact that it just means the system doesn't have any activity going on related to it's configuration.

Processes such as ssh will not be available until 5-10 seconds following the phase ACTIVE

Author:
Adrian Cole

Enum Constant Summary
ACTIVE
           
BUILD
           
DELETE_IP
           
DELETED
           
ERROR
           
HARD_REBOOT
           
MOVE
           
PASSWORD
           
PREP_MOVE
           
PREP_RESIZE
           
QUEUE_MOVE
           
QUEUE_RESIZE
           
REBOOT
           
REBUILD
           
RESCUE
           
RESIZE
           
RESTORING
           
SHARE_IP
           
SHARE_IP_NO_CONFIG
           
SUSPENDED
           
UNKNOWN
           
UNRECOGNIZED
           
VERIFY_MOVE
           
VERIFY_RESIZE
           
 
Method Summary
static ServerStatus fromValue(String v)
           
 String value()
           
static ServerStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ServerStatus[] values()
          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

ACTIVE

public static final ServerStatus ACTIVE

SUSPENDED

public static final ServerStatus SUSPENDED

DELETED

public static final ServerStatus DELETED

QUEUE_RESIZE

public static final ServerStatus QUEUE_RESIZE

PREP_RESIZE

public static final ServerStatus PREP_RESIZE

RESIZE

public static final ServerStatus RESIZE

VERIFY_RESIZE

public static final ServerStatus VERIFY_RESIZE

QUEUE_MOVE

public static final ServerStatus QUEUE_MOVE

PREP_MOVE

public static final ServerStatus PREP_MOVE

MOVE

public static final ServerStatus MOVE

VERIFY_MOVE

public static final ServerStatus VERIFY_MOVE

RESCUE

public static final ServerStatus RESCUE

ERROR

public static final ServerStatus ERROR

BUILD

public static final ServerStatus BUILD

RESTORING

public static final ServerStatus RESTORING

PASSWORD

public static final ServerStatus PASSWORD

REBUILD

public static final ServerStatus REBUILD

DELETE_IP

public static final ServerStatus DELETE_IP

SHARE_IP_NO_CONFIG

public static final ServerStatus SHARE_IP_NO_CONFIG

SHARE_IP

public static final ServerStatus SHARE_IP

REBOOT

public static final ServerStatus REBOOT

HARD_REBOOT

public static final ServerStatus HARD_REBOOT

UNKNOWN

public static final ServerStatus UNKNOWN

UNRECOGNIZED

public static final ServerStatus UNRECOGNIZED
Method Detail

values

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

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

valueOf

public static ServerStatus 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 name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static ServerStatus fromValue(String v)


Copyright © 2009-2012 jclouds. All Rights Reserved.