org.jclouds.deltacloud.domain
Enum Instance.Action
java.lang.Object
java.lang.Enum<Instance.Action>
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>
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
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-2011 jclouds. All Rights Reserved.