org.jclouds.deltacloud.domain
Enum Instance.State

java.lang.Object
  extended by java.lang.Enum<Instance.State>
      extended by org.jclouds.deltacloud.domain.Instance.State
All Implemented Interfaces:
Serializable, Comparable<Instance.State>
Enclosing class:
Instance

public static enum Instance.State
extends 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

START

public static final Instance.State START
initial state, before instance is created.


PENDING

public static final Instance.State PENDING
the instance is in the process of being launched


RUNNING

public static final Instance.State RUNNING
the instance launched (although the boot process might not be completed)


SHUTTING_DOWN

public static final Instance.State SHUTTING_DOWN
the instance is shutting down


STOPPED

public static final Instance.State STOPPED
the instance is stopped


FINISH

public static final Instance.State FINISH
the instance is terminated


UNRECOGNIZED

public static final Instance.State UNRECOGNIZED
state returned as something besides the above.

Method Detail

values

public static Instance.State[] 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 (Instance.State c : Instance.State.values())
    System.out.println(c);

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

valueOf

public static Instance.State 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

fromValue

public static Instance.State fromValue(String state)


Copyright © 2009-2012 jclouds. All Rights Reserved.