| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TaskState>
oracle.ide.task.TaskState
public enum TaskState
The enumeration of the possible states of a Task.
| Enum Constant Summary | |
|---|---|
ABORTED_INCOMPLETE
The Task terminated itself and is thus possibly incomplete.  | 
|
ABORTED_ON_EXCEPTION
The Task was aborted by the Task Manager upon encountering an unhandled exception that propagated to the TaskManager.  | 
|
CANCEL_REQUESTED
A cancellation has been requested for this task but the task has not acknowledged this request nor terminated itself.  | 
|
CANCELLED
The task has terminated itself on a cancel request.  | 
|
CANCELLING
The Task has acknowledged that it will be terminating itself.  | 
|
COMPLETED
The task has completed normally.  | 
|
CREATED
The initial state when a Task is constructed.  | 
|
INTERRUPTED
The Thread was interrupted  | 
|
PAUSE_REQUESTED
A Pause was requested but has not been acknowledged by the Task  | 
|
PAUSED
The task has been Paused on request.  | 
|
PAUSING
The task has acknowledged the Pause request but has not paused itself yet  | 
|
RESERVED
reserved for internal use.  | 
|
RUNNING
The task has been started.  | 
|
SCHEDULED
The scheduled state means that the task manager has scheduled this task and any new tasks with resource locking requests will have to compete with this task.  | 
|
| Method Summary | |
|---|---|
static TaskState | 
valueOf(java.lang.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.  | 
| Methods inherited from class java.lang.Enum | 
|---|
clone, compareTo, equals, finalize, 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 TaskState CREATED
public static final TaskState SCHEDULED
public static final TaskState RUNNING
public static final TaskState COMPLETED
public static final TaskState CANCEL_REQUESTED
public static final TaskState CANCELLING
public static final TaskState CANCELLED
public static final TaskState ABORTED_ON_EXCEPTION
public static final TaskState ABORTED_INCOMPLETE
public static final TaskState INTERRUPTED
public static final TaskState PAUSE_REQUESTED
public static final TaskState PAUSING
public static final TaskState PAUSED
public static final TaskState RESERVED
| Method Detail | 
|---|
public static TaskState[] values()
for (TaskState c : TaskState.values()) System.out.println(c);
public static TaskState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||