public static enum Machine.State extends Enum<Machine.State>
Enum Constant and Description |
---|
DELETED |
OFFLINE |
PROVISIONING |
RUNNING |
STOPPED |
STOPPING |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Machine.State |
fromValue(String state) |
String |
toString() |
String |
value() |
static Machine.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Machine.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Machine.State PROVISIONING
public static final Machine.State RUNNING
public static final Machine.State STOPPING
public static final Machine.State STOPPED
public static final Machine.State OFFLINE
public static final Machine.State DELETED
public static final Machine.State UNRECOGNIZED
public static Machine.State[] values()
for (Machine.State c : Machine.State.values()) System.out.println(c);
public static Machine.State 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 static Machine.State fromValue(String state)
public String value()
public String toString()
toString
in class Enum<Machine.State>
Copyright © 2009-2013 jclouds. All Rights Reserved.