org.jclouds.trmk.vcloud_0_8.domain
Enum Status

java.lang.Object
  extended by java.lang.Enum<Status>
      extended by org.jclouds.trmk.vcloud_0_8.domain.Status
All Implemented Interfaces:
Serializable, Comparable<Status>

public enum Status
extends 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.

NOTE

The deployment status of an object is indicated by the value of its deployed attribute.

Since:
vcloud api 0.8
Author:
Adrian Cole

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

UNRESOLVED

public static final Status UNRESOLVED
The VAppTemplate, VApp, or Vm is unresolved.

Since:
vcloud api 0.8

RESOLVED

public static final Status RESOLVED
The VAppTemplate, VApp, or Vm is resolved.

Since:
vcloud api 0.8

SUSPENDED

public static final Status SUSPENDED
The VApp or Vm is suspended.

Since:
vcloud api 0.8

ON

public static final Status ON
The VApp or Vm is powered on

Since:
vcloud api 0.8

OFF

public static final Status OFF
The VAppTemplate, VApp, or Vm is off.

Since:
vcloud api 0.8

UNRECOGNIZED

public static final Status UNRECOGNIZED

DEPLOYED

public static final Status DEPLOYED
Method Detail

values

public static Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Status c : Status.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static Status fromValue(String status)

fromValue

public static Status fromValue(int v)


Copyright © 2009-2011 jclouds. All Rights Reserved.