|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TaskStatus> org.jclouds.vcloud.domain.TaskStatus
public enum TaskStatus
Enum Constant Summary | |
---|---|
CANCELLED
not an official status, temporarily in. |
|
ERROR
The task has completed and returned a value indicating an error. |
|
QUEUED
The task has been queued for execution. |
|
RUNNING
The task is running. |
|
SUCCESS
The task has completed and returned a value indicating success. |
|
UNRECOGNIZED
|
Method Summary | |
---|---|
static TaskStatus |
fromValue(String status)
|
String |
toString()
|
String |
value()
|
static TaskStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TaskStatus[] |
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 TaskStatus SUCCESS
public static final TaskStatus RUNNING
public static final TaskStatus QUEUED
public static final TaskStatus ERROR
public static final TaskStatus CANCELLED
public static final TaskStatus UNRECOGNIZED
Method Detail |
---|
public static TaskStatus[] values()
for (TaskStatus c : TaskStatus.values()) System.out.println(c);
public static TaskStatus 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 value()
public String toString()
toString
in class Enum<TaskStatus>
public static TaskStatus fromValue(String status)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |