public static enum InstanceInfo.InstanceStatus extends java.lang.Enum<InstanceInfo.InstanceStatus>
| Enum Constant and Description |
|---|
DOWN |
OUT_OF_SERVICE |
STARTING |
UNKNOWN |
UP |
| Modifier and Type | Method and Description |
|---|---|
static InstanceInfo.InstanceStatus |
toEnum(java.lang.String s) |
static InstanceInfo.InstanceStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InstanceInfo.InstanceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceInfo.InstanceStatus UP
public static final InstanceInfo.InstanceStatus DOWN
public static final InstanceInfo.InstanceStatus STARTING
public static final InstanceInfo.InstanceStatus OUT_OF_SERVICE
public static final InstanceInfo.InstanceStatus UNKNOWN
public static InstanceInfo.InstanceStatus[] values()
for (InstanceInfo.InstanceStatus c : InstanceInfo.InstanceStatus.values()) System.out.println(c);
public static InstanceInfo.InstanceStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static InstanceInfo.InstanceStatus toEnum(java.lang.String s)