public static enum InstanceInfo.Status extends Enum<InstanceInfo.Status>
Enum Constant and Description |
---|
DOWN |
OUT_OF_SERVICE |
STARTING |
UNKNOWN |
UP |
Modifier and Type | Method and Description |
---|---|
static InstanceInfo.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceInfo.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceInfo.Status UP
public static final InstanceInfo.Status DOWN
public static final InstanceInfo.Status STARTING
public static final InstanceInfo.Status OUT_OF_SERVICE
public static final InstanceInfo.Status UNKNOWN
public static InstanceInfo.Status[] values()
for (InstanceInfo.Status c : InstanceInfo.Status.values()) System.out.println(c);
public static InstanceInfo.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 null