public class Task extends AbstractTask
ActivityList
.Constructor and Description |
---|
Task(Element row,
ConnectionAttributes session)
Constructs a new
Task using the specified element. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Two tasks are equal if their RunID is equal.
|
int |
getConsumption() |
float |
getCpuTime()
Returns the consumed CPU time in seconds.
|
DateTime |
getEstimatedEndTime()
Returns the Estimated End Time
|
int |
getHirarchicalParent()
Returns the RunID of the of hirarchical parent.
|
String |
getModificationFlag()
Returns the value of the modification flag column.
|
int |
getPriority()
Returns the priority of the task.
|
String |
getProcessId()
Returns the process identification on OS level during execution.
|
int |
getProcessorRunID()
Returns the processor RunID.
|
String |
getStatusWithinParentText()
Returns the state of the task within his parent task which can be a Workflow of any type: Standard, IF or ForEach.
|
String |
getUser()
Deprecated.
use getUserName() instead
|
String |
getZDUVersion() |
int |
hashCode()
The RunID of a task is used as hash code.
|
boolean |
isProcessorTask()
Returns
true if this task is a processor task. |
boolean |
isStatistics()
Returns the source of the task if it has been created with the TaskList request.
|
String |
toString()
Returns a string which contains the name and the RunID of this task.
|
getActivationTime, getAlias, getArchive1, getArchive2, getArchiveKey1, getArchiveKey2, getCauVersion, getClient, getEndTime, getHost, getIntAccount, getName, getObjectName, getParentRunID, getPeriodDescription, getPlatform, getQueue, getRemoteStatus, getReturnCode, getRunID, getRuntime, getRuntimeInMillis, getStart, getStartTime, getStartType, getStateIcon, getStatus, getStatusCode, getStatusText, getTaskClient, getType, getTypeIcon, getUserId, getUserName, getVersion, hasComment, isMonitoredTask, isRollback
public Task(Element row, ConnectionAttributes session)
Task
using the specified element.row
- Elementsession
- Sessionpublic boolean isProcessorTask()
true
if this task is a processor task.public String getModificationFlag()
public int getConsumption()
public int getHirarchicalParent()
public float getCpuTime()
public int getPriority()
public int getProcessorRunID()
public String getProcessId()
public final String getStatusWithinParentText()
public String getZDUVersion()
public boolean isStatistics()
public DateTime getEstimatedEndTime()
@Deprecated public String getUser()
public boolean equals(Object other)
public int hashCode()
public String toString()
toString
in class AbstractTask
Copyright © 2021. All rights reserved.