Enum Class Server.Status
- All Implemented Interfaces:
Serializable
,Comparable<Server.Status>
,java.lang.constant.Constable
- Enclosing class:
Server
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.
Other possible values for the status attribute include: BUILD, REBUILD, SUSPENDED, RESIZE,
VERIFY_RESIZE, REVERT_RESIZE, PASSWORD, REBOOT, HARD_REBOOT, DELETED, UNKNOWN, and ERROR.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Server.Status
value()
static Server.Status
Returns the enum constant of this class with the specified name.static Server.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
-
BUILD
-
REBUILD
-
SUSPENDED
-
PAUSED
-
RESIZE
-
VERIFY_RESIZE
-
REVERT_RESIZE
-
PASSWORD
-
REBOOT
-
HARD_REBOOT
-
DELETED
-
UNKNOWN
-
ERROR
-
STOPPED
Deprecated.please useStatus.SHUTOFF
instead. To be removed in jclouds 2.0. -
UNRECOGNIZED
-
MIGRATING
-
SHUTOFF
-
RESCUE
-
SOFT_DELETED
-
SHELVED
-
SHELVED_OFFLOADED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
-
fromValue
-
Status.SHUTOFF
instead.