public static enum Server.Status extends Enum<Server.Status>
Enum Constant and Description |
---|
ACTIVE |
BUILD |
TERMINATED |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
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 TERMINATED
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 nullCopyright © 2009-2012 jclouds. All Rights Reserved.