Package com.uc4.api.objects
Class TaskState
java.lang.Object
com.uc4.api.objects.TaskState
Task states.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TaskState
Task disrupted.static final TaskState
System return code 1800-1819,1823-1899.static final TaskState
System return code 1300-1799.static final TaskState
System return code 1560,1562.static final TaskState
System return code 1560-1564 .static final TaskState
System return code 1800-1819,1823-1999.static final TaskState
Task ended normally.static final TaskState
System return code 1900-1999,1899.static final TaskState
Task skipped.static final TaskState
System return code 1561,1563-1564.static final TaskState
System return code 1301,1682-1700,1709-1710.static final TaskState
Task canceled.static final TaskState
Task ended empty.static final TaskState
Aborted by escalation.static final TaskState
Task is inactive.static final TaskState
Task was set inactive.static final TaskState
Task aborted (Return Code not 0).static final TaskState
Task ended not ok beacause of Sync condition.static final TaskState
Task ended normally (Return Code = 0).static final TaskState
Task ended normally or is empty.static final TaskState
Task ended normally or is inactive.static final TaskState
System return code 1900,1899.static final TaskState
Task skipped due to the WHEN condition.static final TaskState
System return code 1933.static final TaskState
Task skipped due to the Sync condition.static final TaskState
Task was not executed because time had expired (dependency condition).static final TaskState
Transfer incomplete due to line limit.static final TaskState
Task ended undefined (Agent ended ahead of schedule).static final TaskState
Task vanished.static final TaskState
Group running.static final TaskState
Job could not start due to unavailable host.static final TaskState
Task could not start due to another error.static final TaskState
Task ended with a user return code between 100 and 200.static final TaskState
Task ended with the user return code 147.static final TaskState
Task ended with a user return code between 201 and 299.static final TaskState
Task ended with the user return code 300.static final TaskState
Task ended with a user return code 510.static final TaskState
Task ended with a user return code 690.static final TaskState
System return code 1685,1688-1689,1694,1696.static final TaskState
System return code 1685,1688-1689,1694,1696.static final TaskState
System return code 1686-1687.static final TaskState
System return code 1690.static final TaskState
System return code 1710.static final TaskState
System return code 1684.static final TaskState
System return code 1697. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ANY_ABEND
Task disrupted. ANY_ABEND combines all conditions with Return Codes between 1800 and 1899. -
ANY_ABEND_EXCEPT_FAULT
System return code 1800-1819,1823-1899. -
ANY_ACTIVE
System return code 1300-1799. -
ANY_BLOCKED
System return code 1560,1562. -
ANY_BLOCKED_OR_STOPPED
System return code 1560-1564 . -
ANY_EXCEPT_FAULT
System return code 1800-1819,1823-1999. -
ANY_OK
Task ended normally. ANY_OK combines all conditions with Return Codes between 1900 and 1999. -
ANY_SKIPPED
Task skipped. ANY_SKIPPED is the listing of certain conditions(they may also be found in ANY_OK). -
ANY_STOPPED
System return code 1561,1563-1564. -
ANY_WAITING
System return code 1301,1682-1700,1709-1710. -
ENDED_CANCEL
Task canceled. The job itself, or the whole JobPlan, may have been canceled. -
ENDED_EMPTY
Task ended empty. The activation was ended without error message (STOP NOMSG - Script statement). -
ENDED_ESCALATED
Aborted by escalation. -
ENDED_INACTIVE_MANUAL
Task was set inactive. -
ENDED_INACTIVE
Task is inactive. -
ENDED_NOT_OK
Task aborted (Return Code not 0). -
ENDED_NOT_OK_SYNC
Task ended not ok beacause of Sync condition. -
ENDED_OK
Task ended normally (Return Code = 0). -
ENDED_OK_OR_EMPTY
Task ended normally or is empty. -
ENDED_OK_OR_INACTIVE
Task ended normally or is inactive. -
ENDED_SKIPPED
Task skipped due to the WHEN condition. -
ENDED_SKIPPED_SYNC
Task skipped due to the Sync condition. -
ENDED_TIMEOUT
Task was not executed because time had expired (dependency condition). -
ENDED_TRUNCATE
Transfer incomplete due to line limit. -
ENDED_UNDEFINED
Task ended undefined (Agent ended ahead of schedule). -
ENDED_VANISHED
Task vanished. -
FAULT_ALREADY_RUNNING
Group running. -
FAULT_NO_HOST
Job could not start due to unavailable host. -
FAULT_OTHER
Task could not start due to another error. -
USER_100_200
Task ended with a user return code between 100 and 200. -
USER_147
Task ended with the user return code 147. -
USER_201_299
Task ended with a user return code between 201 and 299. -
USER_300
Task ended with the user return code 300. -
USER_510
Task ended with a user return code 510. -
USER_690
Task ended with a user return code 690. -
WAITING_AGENT
System return code 1685,1688-1689,1694,1696. -
WAITING_AGENT_OR_AGENTGROUP
System return code 1685,1688-1689,1694,1696. -
WAITING_AGENTGROUP
System return code 1686-1687. -
WAITING_EXTERNAL
System return code 1690. -
WAITING_GROUP
System return code 1710. -
WAITING_QUEUE
System return code 1684. -
WAITING_SYNC
System return code 1697. -
ANY_OK_OR_UNBLOCKED
System return code 1900-1999,1899. -
ENDED_SKIPPED_CONDITIONS
System return code 1933. -
ENDED_OK_OR_UNBLOCKED
System return code 1900,1899.
-
-
Constructor Details
-
TaskState
Constructs a newTaskState
from the specified name.- Parameters:
name
- Name
-
TaskState
Constructs a newTaskState
from the specified name and state.- Parameters:
name
- Namestate
- The state value.
-
-
Method Details
-
getName
Returns the name of the task state.- Returns:
- Name
-
equals
-
hashCode
public int hashCode() -
toString
-
getState
public int getState()Return theTaskState
state.- Returns:
- The task state as numeric value.
-
isStateDeleted
public boolean isStateDeleted()Checks if theTaskState
has the deleted state. This is usually a state if one task was replaced by another task during monitor modifications.- Returns:
- True if
getState()
isJobPlanMonitor.Task.DELETED_LINE_STATE
-