org.jclouds.deltacloud.domain
Enum Instance.Action

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

public static enum Instance.Action
extends Enum<Instance.Action>


Enum Constant Summary
CREATE
           
DESTROY
           
REBOOT
           
RUN
           
START
           
STOP
           
UNRECOGNIZED
           
 
Method Summary
static Instance.Action fromValue(String action)
           
 String toString()
           
 String value()
           
static Instance.Action valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Instance.Action[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CREATE

public static final Instance.Action CREATE

RUN

public static final Instance.Action RUN

REBOOT

public static final Instance.Action REBOOT

START

public static final Instance.Action START

STOP

public static final Instance.Action STOP

DESTROY

public static final Instance.Action DESTROY

UNRECOGNIZED

public static final Instance.Action UNRECOGNIZED
Method Detail

values

public static Instance.Action[] 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.Action c : Instance.Action.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.Action 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()

toString

public String toString()
Overrides:
toString in class Enum<Instance.Action>

fromValue

public static Instance.Action fromValue(String action)


Copyright © 2009-2012 jclouds. All Rights Reserved.