public class Task extends AbstractTask
ActivityList
.Modifier and Type | Field and Description |
---|---|
protected int |
consumption |
protected float |
cpuTime |
protected DateTime |
estimatedEndTime |
protected int |
hirarchicalParent |
protected java.lang.String |
modificationFlag |
protected int |
priority |
protected java.lang.String |
processId |
protected int |
processorRunID |
protected boolean |
processorTask |
protected boolean |
statistics |
protected java.lang.String |
zduVersion |
activationTime, alias, archiveKey1, archiveKey2, cauVersion, comment, endTime, host, intAccount, monitoredTask, name, objectName, parentRunID, periodDescription, platform, queue, remoteStatus, returnCode, rollback, runID, runtime, startTime, startType, state, stateIcon, stateWithinParent, statusCode, statusText, type, typeIcon, userId, version
Modifier | Constructor and Description |
---|---|
protected |
Task(ConnectionAttributes session) |
|
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 |
getCompareValue()
Value to compare at file events console event: eventcounter job/ft: status
counter, also indicates which client is deleted
|
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.
|
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
|
java.lang.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.
|
java.lang.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, getStatusIcon, getStatusText, getTaskClient, getType, getTypeIcon, getUserId, getUserName, getVersion, hasComment, initObjectNameAndAlias, isMonitoredTask, isRollback, setUserInfo
protected int priority
protected java.lang.String processId
protected float cpuTime
protected int consumption
protected int processorRunID
protected int hirarchicalParent
protected java.lang.String modificationFlag
protected boolean processorTask
protected java.lang.String zduVersion
protected boolean statistics
protected DateTime estimatedEndTime
protected Task(ConnectionAttributes session)
public 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()
public java.lang.String getZDUVersion()
public boolean isStatistics()
public DateTime getEstimatedEndTime()
@Deprecated public java.lang.String getUser()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- Tasktrue
if two tasks have the same RundID, false
otherwisepublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class AbstractTask
public int getCompareValue()