public static enum Slice.Status extends Enum<Slice.Status>
Enum Constant and Description |
---|
ACTIVE |
BUILD |
HARD_REBOOT |
REBOOT |
TERMINATED |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Slice.Status |
fromValue(String state) |
String |
toString() |
String |
value() |
static Slice.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Slice.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Slice.Status ACTIVE
public static final Slice.Status BUILD
public static final Slice.Status REBOOT
public static final Slice.Status HARD_REBOOT
public static final Slice.Status TERMINATED
public static final Slice.Status UNRECOGNIZED
public static Slice.Status[] values()
for (Slice.Status c : Slice.Status.values()) System.out.println(c);
public static Slice.Status 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<Slice.Status>
public static Slice.Status fromValue(String state)
Copyright © 2009-2012 jclouds. All Rights Reserved.