public static enum Host.State extends Enum<Host.State>
| Enum Constant and Description | 
|---|
| ALERT | 
| CONNECTING | 
| DISCONNECTED | 
| DOWN | 
| ERROR_IN_MAINTENANCE | 
| MAINTENANCE | 
| PREPARE_FOR_MAINTENANCE | 
| REBALANCING | 
| REMOVED | 
| UNKNOWN | 
| UP | 
| UPDATING | 
| Modifier and Type | Method and Description | 
|---|---|
| static Host.State | fromValue(String value) | 
| String | toString() | 
| static Host.State | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Host.State[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Host.State CONNECTING
public static final Host.State UP
public static final Host.State DOWN
public static final Host.State DISCONNECTED
public static final Host.State UPDATING
public static final Host.State PREPARE_FOR_MAINTENANCE
public static final Host.State ERROR_IN_MAINTENANCE
public static final Host.State MAINTENANCE
public static final Host.State ALERT
public static final Host.State REMOVED
public static final Host.State REBALANCING
public static final Host.State UNKNOWN
public static Host.State[] values()
for (Host.State c : Host.State.values()) System.out.println(c);
public static Host.State 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 static Host.State fromValue(String value)
public String toString()
toString in class Enum<Host.State>Copyright © 2009-2012 jclouds. All Rights Reserved.