|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Instance.State> org.jclouds.deltacloud.domain.Instance.State
public static enum Instance.State
Enum Constant Summary | |
---|---|
FINISH
the instance is terminated |
|
PENDING
the instance is in the process of being launched |
|
RUNNING
the instance launched (although the boot process might not be completed) |
|
SHUTTING_DOWN
the instance is shutting down |
|
START
initial state, before instance is created. |
|
STOPPED
the instance is stopped |
|
UNRECOGNIZED
state returned as something besides the above. |
Method Summary | |
---|---|
static Instance.State |
fromValue(String state)
|
static Instance.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Instance.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Instance.State START
public static final Instance.State PENDING
public static final Instance.State RUNNING
public static final Instance.State SHUTTING_DOWN
public static final Instance.State STOPPED
public static final Instance.State FINISH
public static final Instance.State UNRECOGNIZED
Method Detail |
---|
public static Instance.State[] values()
for (Instance.State c : Instance.State.values()) System.out.println(c);
public static Instance.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 name
NullPointerException
- if the argument is nullpublic static Instance.State fromValue(String state)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |