|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<VM.Status> org.jclouds.savvis.vpdc.domain.VM.Status
public static enum VM.Status
Objects such as vAppTemplate, vApp, and Vm have a status attribute whose value indicates the state of the object. Status for an object, such as a vAppTemplate or vApp, whose Children (Vm objects) each have a status of their own, is computed from the status of the Children.
Enum Constant Summary | |
---|---|
OFF
When the VM is deployed in vmware and powered off. |
|
ON
When the VM is deployed in vmware and powered on. |
|
RESOLVED
When the Savvis VPDC is in Provisioning, PartiallyDeployed, Failed and the VM failed in provisioning or pending infrastructure notification |
|
SUSPENDED
We do not support suspended state. |
|
UNKNOWN
The VM is deployed in vmware but the state of VM may be Uninitialized, Start, Stop, Resume, Reset, RebootGuest, Error, Failed, Unknown, PoweringOn, PoweringOff, Suspending, Stopping, Starting, Resetting, RebootingGuest. |
|
UNRECOGNIZED
|
|
UNRESOLVED
When the VM is in Designing,Saved,Inqueue, has issue in pre provisioning or any exception cases. |
Method Summary | |
---|---|
static VM.Status |
fromValue(int v)
|
static VM.Status |
fromValue(String status)
|
String |
value()
|
static VM.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static VM.Status[] |
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 VM.Status UNRESOLVED
public static final VM.Status RESOLVED
public static final VM.Status OFF
public static final VM.Status SUSPENDED
public static final VM.Status ON
public static final VM.Status UNKNOWN
public static final VM.Status UNRECOGNIZED
Method Detail |
---|
public static VM.Status[] values()
for (VM.Status c : VM.Status.values()) System.out.println(c);
public static VM.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 name
NullPointerException
- if the argument is nullpublic String value()
public static VM.Status fromValue(String status)
public static VM.Status fromValue(int v)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |