public enum ServerStatus extends Enum<ServerStatus>
Enum Constant and Description |
---|
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 |
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 DELETED
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 QUEUE_MOVE
public static final ServerStatus PREP_MOVE
public static final ServerStatus MOVE
public static final ServerStatus VERIFY_MOVE
public static final ServerStatus RESCUE
public static final ServerStatus ERROR
public static final ServerStatus BUILD
public static final ServerStatus RESTORING
public static final ServerStatus PASSWORD
public static final ServerStatus REBUILD
public static final ServerStatus DELETE_IP
public static final ServerStatus SHARE_IP_NO_CONFIG
public static final ServerStatus SHARE_IP
public static final ServerStatus REBOOT
public static final ServerStatus HARD_REBOOT
public static final ServerStatus UNKNOWN
public static final ServerStatus UNRECOGNIZED
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.