public enum TaskState extends Enum<TaskState>
| Enum Constant and Description |
|---|
ABORTED
The task execution has been aborted
|
ACK_ERROR
The task finished
FINISHED_UNSUCCESSFULLY and the error was acknowledged. |
CANCELLED
The task was cancelled.
|
FINISHED_SUCCESSFULLY
All jobs of the task have been finished successfully
|
FINISHED_UNSUCCESSFULLY
A job of the task has failed and the task has been finished unsuccessfully
|
PENDING
The task remains enqueued
|
QUEUEING
The task is yet to be queued
|
STARTED
The task is being processed
|
| Modifier and Type | Method and Description |
|---|---|
static TaskState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskState FINISHED_SUCCESSFULLY
public static final TaskState FINISHED_UNSUCCESSFULLY
public static final TaskState QUEUEING
public static final TaskState PENDING
public static final TaskState STARTED
public static final TaskState ABORTED
public static final TaskState CANCELLED
public static final TaskState ACK_ERROR
FINISHED_UNSUCCESSFULLY and the error was acknowledged.public static TaskState[] values()
for (TaskState c : TaskState.values()) System.out.println(c);
public static TaskState 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 nullCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.