public static enum Server.Status extends Enum<Server.Status>
Enum Constant and Description |
---|
ACTIVE |
BUILD |
DELETED |
ERROR |
HARD_REBOOT |
PASSWORD |
PAUSED |
REBOOT |
REBUILD |
RESIZE |
REVERT_RESIZE |
STOPPED |
SUSPENDED |
UNKNOWN |
UNRECOGNIZED |
VERIFY_RESIZE |
Modifier and Type | Method and Description |
---|---|
static Server.Status |
fromValue(String v) |
String |
value() |
static Server.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Server.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Server.Status ACTIVE
public static final Server.Status BUILD
public static final Server.Status REBUILD
public static final Server.Status SUSPENDED
public static final Server.Status PAUSED
public static final Server.Status RESIZE
public static final Server.Status VERIFY_RESIZE
public static final Server.Status REVERT_RESIZE
public static final Server.Status PASSWORD
public static final Server.Status REBOOT
public static final Server.Status HARD_REBOOT
public static final Server.Status DELETED
public static final Server.Status UNKNOWN
public static final Server.Status ERROR
public static final Server.Status STOPPED
public static final Server.Status UNRECOGNIZED
public static Server.Status[] values()
for (Server.Status c : Server.Status.values()) System.out.println(c);
public static Server.Status 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 Server.Status fromValue(String v)
Copyright © 2009-2013 jclouds. All Rights Reserved.