public static enum Instance.Action extends Enum<Instance.Action>
Enum Constant and Description |
---|
CREATE |
DESTROY |
REBOOT |
RUN |
START |
STOP |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final Instance.Action CREATE
public static final Instance.Action RUN
public static final Instance.Action REBOOT
public static final Instance.Action START
public static final Instance.Action STOP
public static final Instance.Action DESTROY
public static final Instance.Action UNRECOGNIZED
public static Instance.Action[] values()
for (Instance.Action c : Instance.Action.values()) System.out.println(c);
public static Instance.Action valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public String toString()
toString
in class Enum<Instance.Action>
public static Instance.Action fromValue(String action)
Copyright © 2009-2013 jclouds. All Rights Reserved.