org.jclouds.openstack.nova.domain
Enum ServerStatus

java.lang.Object
  extended by java.lang.Enum<ServerStatus>
      extended by org.jclouds.openstack.nova.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
           
HARD_REBOOT
           
PASSWORD
           
PREP_RESIZE
           
QUEUE_RESIZE
           
REBOOT
           
REBUILD
           
RESCUE
           
RESIZE
           
SUSPENDED
           
UNKNOWN
           
UNRECOGNIZED
           
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

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

RESCUE

public static final ServerStatus RESCUE

BUILD

public static final ServerStatus BUILD

PASSWORD

public static final ServerStatus PASSWORD

REBUILD

public static final ServerStatus REBUILD

REBOOT

public static final ServerStatus REBOOT

HARD_REBOOT

public static final ServerStatus HARD_REBOOT

UNKNOWN

public static final ServerStatus UNKNOWN

DELETE_IP

public static final ServerStatus DELETE_IP

UNRECOGNIZED

public static final ServerStatus UNRECOGNIZED

DELETED

public static final ServerStatus DELETED
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.