public class Task extends AbstractTask
ActivityList.| Constructor and Description |
|---|
Task(org.w3c.dom.Element row,
ConnectionAttributes session)
Constructs a new
Task using the specified element. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other)
Two tasks are equal if their RunID is equal.
|
int |
getConsumption() |
float |
getCpuTime()
Returns the consumed CPU time in seconds.
|
int |
getHirarchicalParent()
Returns the RunID of the of hirarchical parent.
|
java.lang.String |
getModificationFlag()
Returns the value of the modification flag column.
|
int |
getPriority()
Returns the priority of the task.
|
java.lang.String |
getProcessId()
Returns the process identification on OS level during execution.
|
int |
getProcessorRunID()
Returns the processor RunID.
|
java.lang.String |
getStatusWithinParentText()
Returns the state of the task within his parent task which can be a Workflow of any type: Standard, IF or ForEach.
|
java.lang.String |
getUser()
Deprecated.
use getUserName() instead
|
int |
hashCode()
The RunID of a task is used as hash code.
|
boolean |
isProcessorTask()
Returns
true if this task is a processor task. |
java.lang.String |
toString()
Returns a string which contains the name and the RunID of this task.
|
getArchive1, getArchive2, getArchiveKey1, getArchiveKey2, getClient, getEndTime, getHost, getName, getParentRunID, getPeriodDescription, getPlatform, getQueue, getRemoteStatus, getRunID, getRuntime, getStart, getStartTime, getStartType, getStateIcon, getStatus, getStatusCode, getStatusText, getTaskClient, getType, getTypeIcon, getUserId, getUserName, hasComment, isMonitoredTask, isRollbackpublic Task(org.w3c.dom.Element row,
ConnectionAttributes session)
Task using the specified element.row - Elementsession - Sessionpublic boolean isProcessorTask()
true if this task is a processor task.public java.lang.String getModificationFlag()
public int getConsumption()
public int getHirarchicalParent()
public float getCpuTime()
public int getPriority()
public int getProcessorRunID()
public java.lang.String getProcessId()
public final java.lang.String getStatusWithinParentText()
@Deprecated public java.lang.String getUser()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - Tasktrue if two tasks have the same RundID, false otherwisepublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class AbstractTask