org.jclouds.vcloud.domain
Enum Status

java.lang.Object
  extended by java.lang.Enum<Status>
      extended by org.jclouds.vcloud.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
COPYING
          The VAppTemplate Upload initiated, copying contents
DEPLOYED
          The object is deployed.
ERROR
          The VAppTemplate, VApp, or Vm could not be created.
INCONSISTENT
          The VApp or Vm is in an inconsistent state.
MIXED
          The VAppTemplate or VApp have children do not all have the same status.
OFF
          The VAppTemplate, VApp, or Vm is off.
ON
          The VApp or Vm is powered on
PENDING_CONTENTS
          The VAppTemplate Upload initiated, disk contents pending
PENDING_DESCRIPTOR
          The VAppTemplate Upload initiated, OVF descriptor pending
QUARANTINE_EXPIRED
          The VAppTemplate Upload quarantine period has expired
QUARANTINED
          The VAppTemplate Upload has been quarantined
RESOLVED
          The VAppTemplate, VApp, or Vm is resolved.
SUSPENDED
          The VApp or Vm is suspended.
UNKNOWN
          The VAppTemplate, VApp, or Vm is in an unknown state.
UNRECOGNIZED
          The VAppTemplate, VApp, or Vm is in an unrecognized state.
UNRESOLVED
          The VAppTemplate, VApp, or Vm is unresolved.
WAITING_FOR_INPUT
          The VApp or Vm waiting for user input.
 
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

ERROR

public static final Status ERROR
The VAppTemplate, VApp, or Vm could not be created.

Since:
vcloud api 1.0

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

DEPLOYED

public static final Status DEPLOYED
The object is deployed.

note that the documentation does not reference use of this.

Since:
vcloud api 1.0

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

WAITING_FOR_INPUT

public static final Status WAITING_FOR_INPUT
The VApp or Vm waiting for user input.

Since:
vcloud api 1.0

UNKNOWN

public static final Status UNKNOWN
The VAppTemplate, VApp, or Vm is in an unknown state.

Since:
vcloud api 1.0

UNRECOGNIZED

public static final Status UNRECOGNIZED
The VAppTemplate, VApp, or Vm is in an unrecognized state.

Since:
vcloud api 1.0

OFF

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

Since:
vcloud api 0.8

INCONSISTENT

public static final Status INCONSISTENT
The VApp or Vm is in an inconsistent state.

Since:
vcloud api 1.0

MIXED

public static final Status MIXED
The VAppTemplate or VApp have children do not all have the same status.

Since:
vcloud api 1.0

PENDING_DESCRIPTOR

public static final Status PENDING_DESCRIPTOR
The VAppTemplate Upload initiated, OVF descriptor pending

Since:
vcloud api 1.0

COPYING

public static final Status COPYING
The VAppTemplate Upload initiated, copying contents

Since:
vcloud api 1.0

PENDING_CONTENTS

public static final Status PENDING_CONTENTS
The VAppTemplate Upload initiated, disk contents pending

Since:
vcloud api 1.0

QUARANTINED

public static final Status QUARANTINED
The VAppTemplate Upload has been quarantined

Since:
vcloud api 1.0

QUARANTINE_EXPIRED

public static final Status QUARANTINE_EXPIRED
The VAppTemplate Upload quarantine period has expired

Since:
vcloud api 1.0
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.