|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Status>
org.jclouds.trmk.vcloud_0_8.domain.Status
public enum 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 | |
|---|---|
DEPLOYED
|
|
OFF
The VAppTemplate, VApp, or Vm is off. |
|
ON
The VApp or Vm is powered on |
|
RESOLVED
The VAppTemplate, VApp, or Vm is resolved. |
|
SUSPENDED
The VApp or Vm is suspended. |
|
UNRECOGNIZED
|
|
UNRESOLVED
The VAppTemplate, VApp, or Vm is unresolved. |
|
| Method Summary | |
|---|---|
static Status |
fromValue(int v)
|
static Status |
fromValue(String status)
|
String |
value()
|
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static 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 Status UNRESOLVED
VAppTemplate, VApp, or Vm is unresolved.
public static final Status RESOLVED
VAppTemplate, VApp, or Vm is resolved.
public static final Status SUSPENDED
VApp or Vm is suspended.
public static final Status ON
VApp or Vm is powered on
public static final Status OFF
VAppTemplate, VApp, or Vm is off.
public static final Status UNRECOGNIZED
public static final Status DEPLOYED
| Method Detail |
|---|
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static 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 Status fromValue(String status)
public static Status fromValue(int v)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||