|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TaskStatusType>
com.vmware.vcloud.sdk.constants.TaskStatusType
public enum TaskStatusType
TaskStatus constants
| Enum Constant Summary | |
|---|---|
ABORTED
Aborted state indicates that a task has been stopped during its pre-running phase because a task extension request was aborted. |
|
CANCELED
Canceled indicates that the task was stopped from executing before it began or was completed and no further processing will take place. |
|
ERROR
Error indicates a problem occurred while processing the task, either due to a system fault or due to the task being in conflict with the state of the affected resources. |
|
PRERUNNING
PreRunning state indicates that the task has not started yet but is pending for pre-processing. |
|
QUEUED
Queued indicates no processing has taken place yet. |
|
RUNNING
Running indicates that the system is currently processing the task. |
|
SUCCESS
Success indicates the task completed as intended with the desired result. |
|
| Method Summary | |
|---|---|
static TaskStatusType |
fromValue(String value)
|
String |
value()
|
static TaskStatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TaskStatusType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TaskStatusType QUEUED
public static final TaskStatusType PRERUNNING
public static final TaskStatusType SUCCESS
public static final TaskStatusType RUNNING
public static final TaskStatusType ERROR
public static final TaskStatusType CANCELED
public static final TaskStatusType ABORTED
| Method Detail |
|---|
public static TaskStatusType[] values()
for (TaskStatusType c : TaskStatusType.values()) System.out.println(c);
public static TaskStatusType 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 static TaskStatusType fromValue(String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||