public enum ServerStatus extends Enum<ServerStatus>
Enum Constant and Description |
---|
ACTIVE |
BUILD |
DELETE_IP |
DELETED |
HARD_REBOOT |
PASSWORD |
PREP_RESIZE |
QUEUE_RESIZE |
REBOOT |
REBUILD |
RESCUE |
RESIZE |
SUSPENDED |
UNKNOWN |
UNRECOGNIZED |
VERIFY_RESIZE |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ServerStatus ACTIVE
public static final ServerStatus SUSPENDED
public static final ServerStatus QUEUE_RESIZE
public static final ServerStatus PREP_RESIZE
public static final ServerStatus RESIZE
public static final ServerStatus VERIFY_RESIZE
public static final ServerStatus RESCUE
public static final ServerStatus BUILD
public static final ServerStatus PASSWORD
public static final ServerStatus REBUILD
public static final ServerStatus REBOOT
public static final ServerStatus HARD_REBOOT
public static final ServerStatus UNKNOWN
public static final ServerStatus DELETE_IP
public static final ServerStatus UNRECOGNIZED
public static final ServerStatus DELETED
public static ServerStatus[] values()
for (ServerStatus c : ServerStatus.values()) System.out.println(c);
public static ServerStatus 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 String value()
public static ServerStatus fromValue(String v)
Copyright © 2009-2012 jclouds. All Rights Reserved.