public class TaskState
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static TaskState |
ANY_ABEND
Task disrupted.
|
static TaskState |
ANY_ABEND_EXCEPT_FAULT
System return code 1800-1819,1823-1899.
|
static TaskState |
ANY_ACTIVE
System return code 1300-1799.
|
static TaskState |
ANY_BLOCKED
System return code 1560,1562.
|
static TaskState |
ANY_BLOCKED_OR_STOPPED
System return code 1560-1564 .
|
static TaskState |
ANY_EXCEPT_FAULT
System return code 1800-1819,1823-1999.
|
static TaskState |
ANY_OK
Task ended normally.
|
static TaskState |
ANY_OK_OR_UNBLOCKED
System return code 1900-1999,1899.
|
static TaskState |
ANY_SKIPPED
Task skipped.
|
static TaskState |
ANY_STOPPED
System return code 1561,1563-1564.
|
static TaskState |
ANY_WAITING
System return code 1301,1682-1700,1709-1710.
|
static TaskState |
ENDED_CANCEL
Task canceled.
|
static TaskState |
ENDED_EMPTY
Task ended empty.
|
static TaskState |
ENDED_ESCALATED
Aborted by escalation.
|
static TaskState |
ENDED_INACTIVE
Task is inactive.
|
static TaskState |
ENDED_INACTIVE_MANUAL
Task was set inactive.
|
static TaskState |
ENDED_NOT_OK
Task aborted (Return Code not 0).
|
static TaskState |
ENDED_NOT_OK_SYNC
Task ended not ok beacause of Sync condition.
|
static TaskState |
ENDED_OK
Task ended normally (Return Code = 0).
|
static TaskState |
ENDED_OK_OR_EMPTY
Task ended normally or is empty.
|
static TaskState |
ENDED_OK_OR_INACTIVE
Task ended normally or is inactive.
|
static TaskState |
ENDED_OK_OR_UNBLOCKED
System return code 1900,1899.
|
static TaskState |
ENDED_SKIPPED
Task skipped due to the WHEN condition.
|
static TaskState |
ENDED_SKIPPED_CONDITIONS
System return code 1933.
|
static TaskState |
ENDED_SKIPPED_SYNC
Task skipped due to the Sync condition.
|
static TaskState |
ENDED_TIMEOUT
Task was not executed because time had expired (dependency condition).
|
static TaskState |
ENDED_TRUNCATE
Transfer incomplete due to line limit.
|
static TaskState |
ENDED_UNDEFINED
Task ended undefined (Agent ended ahead of schedule).
|
static TaskState |
ENDED_VANISHED
Task vanished.
|
static TaskState |
FAULT_ALREADY_RUNNING
Group running.
|
static TaskState |
FAULT_NO_HOST
Job could not start due to unavailable host.
|
static TaskState |
FAULT_OTHER
Task could not start due to another error.
|
static TaskState |
USER_100_200
Task ended with a user return code between 100 and 200.
|
static TaskState |
USER_147
Task ended with the user return code 147.
|
static TaskState |
USER_201_299
Task ended with a user return code between 201 and 299.
|
static TaskState |
USER_300
Task ended with the user return code 300.
|
static TaskState |
USER_510
Task ended with a user return code 510.
|
static TaskState |
USER_690
Task ended with a user return code 690.
|
static TaskState |
WAITING_AGENT
System return code 1685,1688-1689,1694,1696.
|
static TaskState |
WAITING_AGENT_OR_AGENTGROUP
System return code 1685,1688-1689,1694,1696.
|
static TaskState |
WAITING_AGENTGROUP
System return code 1686-1687.
|
static TaskState |
WAITING_EXTERNAL
System return code 1690.
|
static TaskState |
WAITING_GROUP
System return code 1710.
|
static TaskState |
WAITING_QUEUE
System return code 1684.
|
static TaskState |
WAITING_SYNC
System return code 1697.
|
Constructor and Description |
---|
TaskState(java.lang.String name)
Constructs a new
TaskState from the specified name. |
TaskState(java.lang.String name,
int state)
Constructs a new
TaskState from the specified name and state. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Returns the name of the task state.
|
int |
getState()
Return the
TaskState state. |
int |
hashCode() |
boolean |
isStateDeleted()
Checks if the
TaskState has the deleted state. |
java.lang.String |
toString() |
public static final TaskState ANY_ABEND
public static final TaskState ANY_ABEND_EXCEPT_FAULT
public static final TaskState ANY_ACTIVE
public static final TaskState ANY_BLOCKED
public static final TaskState ANY_BLOCKED_OR_STOPPED
public static final TaskState ANY_EXCEPT_FAULT
public static final TaskState ANY_OK
public static final TaskState ANY_SKIPPED
public static final TaskState ANY_STOPPED
public static final TaskState ANY_WAITING
public static final TaskState ENDED_CANCEL
public static final TaskState ENDED_EMPTY
public static final TaskState ENDED_ESCALATED
public static final TaskState ENDED_INACTIVE_MANUAL
public static final TaskState ENDED_INACTIVE
public static final TaskState ENDED_NOT_OK
public static final TaskState ENDED_NOT_OK_SYNC
public static final TaskState ENDED_OK
public static final TaskState ENDED_OK_OR_EMPTY
public static final TaskState ENDED_OK_OR_INACTIVE
public static final TaskState ENDED_SKIPPED
public static final TaskState ENDED_SKIPPED_SYNC
public static final TaskState ENDED_TIMEOUT
public static final TaskState ENDED_TRUNCATE
public static final TaskState ENDED_UNDEFINED
public static final TaskState ENDED_VANISHED
public static final TaskState FAULT_ALREADY_RUNNING
public static final TaskState FAULT_NO_HOST
public static final TaskState FAULT_OTHER
public static final TaskState USER_100_200
public static final TaskState USER_147
public static final TaskState USER_201_299
public static final TaskState USER_300
public static final TaskState USER_510
public static final TaskState USER_690
public static final TaskState WAITING_AGENT
public static final TaskState WAITING_AGENT_OR_AGENTGROUP
public static final TaskState WAITING_AGENTGROUP
public static final TaskState WAITING_EXTERNAL
public static final TaskState WAITING_GROUP
public static final TaskState WAITING_QUEUE
public static final TaskState WAITING_SYNC
public static final TaskState ANY_OK_OR_UNBLOCKED
public static final TaskState ENDED_SKIPPED_CONDITIONS
public static final TaskState ENDED_OK_OR_UNBLOCKED
public TaskState(java.lang.String name)
TaskState
from the specified name.name
- Namepublic TaskState(java.lang.String name, int state)
TaskState
from the specified name and state.name
- Namestate
- The state value.public java.lang.String getName()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int getState()
TaskState
state.public boolean isStateDeleted()
TaskState
has the deleted state.
This is usually a state if one task was replaced by another task during monitor modifications.getState()
is JobPlanMonitor.Task.DELETED_LINE_STATE