|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Volume.State>
org.jclouds.cloudstack.domain.Volume.State
public static enum Volume.State
| Enum Constant Summary | |
|---|---|
ALLOCATED
indicates that the volume record is created in the DB, but not on the backend |
|
CREATING
the volume is being created on the backend |
|
DESTROYED
the volume is destroyed (either as a result of deleteVolume command for DataDisk or as a part of destroyVm) |
|
FAILED
the volume has failed somehow, e.g. |
|
READY
the volume is ready to be used |
|
UNRECOGNIZED
|
|
| Method Summary | |
|---|---|
static Volume.State |
fromValue(String state)
|
String |
toString()
|
static Volume.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Volume.State[] |
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 |
|---|
public static final Volume.State ALLOCATED
public static final Volume.State CREATING
public static final Volume.State READY
public static final Volume.State DESTROYED
public static final Volume.State FAILED
public static final Volume.State UNRECOGNIZED
| Method Detail |
|---|
public static Volume.State[] values()
for (Volume.State c : Volume.State.values()) System.out.println(c);
public static Volume.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 name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Volume.State>public static Volume.State fromValue(String state)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||