public abstract class AbstractTask extends Object implements HasAlias
Modifier and Type | Method and Description |
---|---|
DateTime |
getActivationTime()
Returns the date and time of object activation.
|
UC4Alias |
getAlias()
In contrast to
getName this method
returns always the alias if used. |
String |
getArchive1()
Returns the first archive key of this task.
|
String |
getArchive2()
Returns the second archive key of this task.
|
String |
getArchiveKey1()
Returns the first archive key of the object.
|
String |
getArchiveKey2()
Returns the second archive key of the object.
|
String |
getCauVersion()
Returns the Version of the Agent.
|
String |
getClient()
Deprecated.
Use getTaskClient() instead
|
DateTime |
getEndTime()
Returns the date and time of object end.
|
String |
getHost()
Returns the name of the destination Agent.
|
String |
getIntAccount()
Returns the used account of the object.
|
String |
getName()
Returns the name of the object.
|
String |
getObjectName()
In contrast to the
getName this method
returns always the object name. |
int |
getParentRunID()
Returns the RunID of the parent.
|
String |
getPeriodDescription()
Returns the period description of the task.
|
String |
getPlatform()
Returns the platform of the object or an empty String if a platform is not defined for the object.
|
String |
getQueue()
Returns the name of the Queue or an empty String.
|
String |
getRemoteStatus()
Returns the remote status of this task.
|
int |
getReturnCode()
Returns the return code which has ended the object.
|
int |
getRunID()
Running number of the execution.
|
String |
getRuntime()
Returns the time used for the execution of the task.
|
long |
getRuntimeInMillis()
Returns the runtime string into milliseconds
|
DateTime |
getStart()
Deprecated.
use getStartTime() instead
|
DateTime |
getStartTime()
Returns the date and time of object start.
|
String |
getStartType()
Returns the method used for the start.
|
String |
getStateIcon()
Returns a description of the status.
|
String |
getStatus()
Returns the status of this task as String which is independent on the logon language.
|
int |
getStatusCode()
Returns the status of the task as integer.
|
String |
getStatusText()
Returns a description of the status.
|
int |
getTaskClient()
Returns the client of the task in the Automation Engine.
|
String |
getType()
Returns the type of the object.
|
String |
getTypeIcon()
Returns a description of the status.
|
String |
getUserId()
Returns the signature of the user.
|
UC4UserName |
getUserName()
Returns the name of the User object of the person who has started the task.
|
int |
getVersion()
Returns the value of the version column.
|
boolean |
hasComment()
Returns
true if this statistic item has an attached comment. |
boolean |
isMonitoredTask()
Returns
true if this task is JOBD which is monitored by the Automation Engine. |
boolean |
isRollback()
Returns
true if this task supports rollback. |
String |
toString() |
public int getVersion()
public String getCauVersion()
public boolean isMonitoredTask()
true
if this task is JOBD which is monitored by the Automation Engine.public DateTime getActivationTime()
public boolean hasComment()
true
if this statistic item has an attached comment.public int getReturnCode()
public String getRuntime()
public String getIntAccount()
public String getStartType()
public String getQueue()
public String getPlatform()
public String getRemoteStatus()
public boolean isRollback()
true
if this task supports rollback.public final String getArchive1()
public final String getArchive2()
public String getArchiveKey1()
public String getArchiveKey2()
public final String getHost()
public final String getName()
getObjectName
and getAlias
if you want exclusive information.public final int getParentRunID()
public final int getRunID()
@Deprecated public final DateTime getStart()
public DateTime getStartTime()
public DateTime getEndTime()
public final String getUserId()
public final String getStatus()
getStatusCode()
public String getStatusText()
getStatusCode()
public final String getType()
public final String getStateIcon()
public final String getTypeIcon()
public final UC4UserName getUserName()
@Deprecated public final String getClient()
public int getTaskClient()
public int getStatusCode()
getStatusCode() | getStatus() | getStatusText() |
---|---|---|
1005 | state_waiting | Actually running |
1006 | state_waiting | Checked |
1008 | state_waiting | Aborted |
1009 | state_waiting | Done |
1300 | state_waiting | Preparing |
1301 | state_waiting_others | Waiting for user input |
1310 | state_waiting | operation not initialized |
1510 | state_running | Transferred |
1520 | state_running | Ready for transfer (before Connect) |
1521 | state_running | Ready to be transferred |
1529 | state_running | Ready for generation |
1530 | state_running | Ready for start |
1531 | state_running | To be called |
1540 | state_running | Start initiated |
1541 | state_running | Checking |
1542 | state_running | Calling |
1543 | state_waiting_others | Unknown |
1544 | state_inconsistent | Inconsistent |
1545 | state_running | Started |
1546 | state_running | Connecting |
1547 | state_inconsistent | Inconsistent RemoteTaskManager |
1550 | state_running | Active |
1551 | state_running | Transferring |
1552 | state_waiting_others | Called |
1553 | state_waiting_others | Accepted |
1554 | state_running | Sampling files |
1556 | state_waiting_others | Escalated |
1557 | state_backup | Custom Backup |
1558 | state_backup | File Backup |
1560 | state_jp_blocking | Workflow is blocked |
1561 | state_stopped_sys | STOP - Client-wide stop of automatic processing |
1562 | state_holded | HELD - Manual stop has been set |
1563 | state_stopped_man | STOP - Automatic processing has been stopped. |
1564 | state_stopped_queue | STOP - Queue processing has been stopped. |
1565 | state_running | Finished sending task |
1566 | state_running | Skipping - Timeout |
1567 | state_running | Skipping - Conditions |
1568 | state_running | Skipping - manually inactive |
1569 | state_running | Skipping Sync |
1570 | state_running | Skipping |
1571 | state_running | Canceling |
1572 | state_running | Generating |
1573 | state_running | Generated |
1574 | state_running | Post processing |
1575 | state_ending | Ending |
1576 | state_running | Regenerating |
1578 | state_running | Scanning Files |
1579 | state_running | Scanning reports |
1580 | state_running | Resolving variables |
1581 | state_running | Checking Postconditions |
1582 | state_running | Checking prompt values |
1583 | state_running | LOOPING |
1584 | state_running | Calculating ERT |
1590 | state_rollback | Custom Rollback |
1591 | state_rollback | File Rollback |
1592 | state_rollback | AgentGroup Rollback |
1593 | state_rollback | Workflow Rollback |
1599 | state_waiting | Alive user view |
1600 | state_waiting | Internal checking |
1655 | state_waiting_rollback | Waiting for rollback |
1665 | state_waiting_others | Waiting for externally resolved parameters |
1681 | state_waiting_others | Waiting for User |
1682 | state_waiting_others | Waiting for continuation of variable resolving |
1684 | state_waiting_queue | Waiting for Queue slot |
1685 | state_waiting_host | Waiting for post processing host |
1686 | state_waiting_others | Waiting for start of AgentGroup container. |
1687 | state_waiting_others | Waiting for end of parallel host-group tasks |
1688 | state_waiting_host | Waiting for the host of an AgentGroup. |
1689 | state_waiting_resource | Waiting for resource (max. FileTransfers exceeded) |
1690 | state_waiting_ext | Waiting for external dependency |
1691 | state_waiting | Waiting for remote system |
1692 | state_waiting | Waiting for remote SYNC |
1693 | state_waiting_mrel | Waiting for manual release |
1694 | state_waiting_resource | Waiting for resource (max. Jobs exceeded) |
1695 | state_waiting | Waiting for restart time |
1696 | state_waiting_host | Waiting for host |
1697 | state_waiting_sync | Waiting for SYNC |
1698 | state_waiting_time | Waiting for start time |
1699 | state_waiting | Alive |
1700 | state_waiting | Waiting for predecessor |
1701 | state_sleeping | Sleeping |
1702 | state_waiting | Not yet called |
1703 | state_waiting_precond | Waiting for Preconditions |
1704 | state_running | Checking Preconditions |
1705 | state_running | CHANGING_LOG |
1709 | state_waiting_parallel_task | Waiting for end of parallel task(s) |
1710 | state_registered | Registered |
1711 | state_waiting_others | Queued |
1799 | state_abended | Dead |
1800 | state_abended | ENDED_NOT_OK - aborted |
1801 | state_abended | ENDED_NOT_OK - aborted because of SYNC condition |
1802 | state_abended | ENDED_JP_ABEND - not executed due to abnormal Workflow end. |
1810 | state_abended | ENDED_VANISHED - disappeared |
1815 | state_abended | ENDED_LOST - ended undefined (host terminated prematurely). |
1820 | state_abended | FAULT_OTHER - Start impossible. Other error. |
1821 | state_abended | FAULT_NO_HOST - Start impossible. Cannot reach host. |
1822 | state_abended | FAULT_ALREADY_RUNNING - task is already running. |
1823 | state_abended | FAULT_POST_PROCESSING - error in post processing. |
1824 | state_abended | FAULT_POST_CONDITION - Error in Postcondition. |
1825 | state_fault_backup | FAULT_CUSTOM_BACKUP - Error in custom backup |
1826 | state_fault_backup | FAULT_FILE_BACKUP - Error in file backup |
1827 | state_fault_rollback | FAULT_CUSTOM_ROLLBACK - Error in custom rollback |
1828 | state_fault_rollback | FAULT_FILE_ROLLBACK - Error in file rollback |
1829 | state_abended | FAULT_HOSTGROUP_ROLLBACK - Error in AgentGroup rollback |
1830 | state_abended | FAULT_ROLLBACK - General error in rollback |
1850 | state_abended | ENDED_CANCEL - manually canceled |
1851 | state_abended | ENDED_JP_CANCEL - Workflow canceled manually. |
1852 | state_abended | Rejected |
1853 | state_abended | ENDED_QUEUE_CANCEL |
1854 | state_abended | ENDED_CONTAINER_CANCEL |
1856 | state_abended | ENDED_ESCALATED - aborted due to escalation |
1860 | state_abended | Notification failed |
1898 | state_blocking | Blocked |
1899 | state_abended | Status blocked manually removed |
1900 | state_ended | ENDED_OK - ended normally |
1901 | state_inactive | Confirmed |
1902 | state_inactive | ENDED_QUEUE_END |
1903 | state_inactive | ENDED_CONTAINER_END |
1904 | state_ended_rollbacked | ENDED_ROLLBACKED - Task was rolled back successfully. |
1905 | state_inactive | ENDED_WF_ROLLBACKED |
1910 | state_inactive | ENDED_EMPTY - task is empty (STOP NOMSG). |
1911 | state_inactive | ENDED_TRUNCATE - Transfer incomplete due to line limit. |
1912 | state_inactive | ENDED_EMPTY - nothing found. |
1913 | state_rollback_empty | ENDED_ROLLBACK_EMPTY - No rollback defined |
1919 | state_inactive | ENDED_INACTIVE - inactive due to logical date condition of external dependency. |
1920 | state_inactive_cale | ENDED_INACTIVE - Inactive today because of Calendar. |
1921 | state_inactive_def | ENDED_INACTIVE - task not active due to definition |
1922 | state_inactive_man | ENDED_INACTIVE - Task was manually set inactive. |
1923 | state_inactive | Deleted |
1924 | state_inactive | UNPROCESSED |
1925 | state_inactive_object | ENDED_INACTIVE_OBJECT - Object is inactive due to definition. |
1930 | state_inactive | ENDED_SKIPPED - Skipped because of WHEN clause |
1931 | state_inactive | ENDED_SKIPPED - Skipped because of SYNC condition. |
1932 | state_inactive | ENDED_SKIPPED - Schedule ended prematurely |
1933 | state_inactive | ENDED_SKIPPED - Skipped because of conditions. |
1940 | state_inactive | ENDED_TIMEOUT - Not executed because of timeout (WHEN clause). |
1941 | state_inactive | ENDED_TIMEOUT - Start time exceeded. |
1942 | state_inactive | ENDED_TIMEOUT - ended untimely. |
1944 | state_inactive | ENDED_TIMEOUT - period stopped |
1960 | state_inactive | Notification successful |
1970 | state_inactive | Operation successful |
1999 | state_inactive | SYNC check passed |
-1
in case of an errorpublic final String getPeriodDescription()
public String getObjectName()
getName
this method
returns always the object name.public UC4Alias getAlias()
getName
this method
returns always the alias if used.public long getRuntimeInMillis()
Copyright © 2021. All rights reserved.