Package com.uc4.api
Class StatisticSearchItem
java.lang.Object
com.uc4.api.AbstractTask
com.uc4.api.StatisticSearchItem
- All Implemented Interfaces:
HasAlias
This class represents a row in the result of a statistics search.
-
Field Summary
Fields inherited from class com.uc4.api.AbstractTask
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
-
Constructor Summary
ConstructorsConstructorDescriptionStatisticSearchItem
(Element row, boolean logging, ConnectionAttributes session, com.uc4.util.XMLDocument doc) Constructs aStatisticSearchItem
from the speficied XML element. -
Method Summary
Methods inherited from class com.uc4.api.AbstractTask
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
-
Constructor Details
-
StatisticSearchItem
public StatisticSearchItem(Element row, boolean logging, ConnectionAttributes session, com.uc4.util.XMLDocument doc) Constructs aStatisticSearchItem
from the speficied XML element.- Parameters:
row
- Elementlogging
- Is loggingsession
- Sessiondoc
- XML Document
-
-
Method Details
-
getMessageText
Returns the message text for HOST, USER and SERVER objects. For all other object types this method returnsnull
.- Returns:
- String containing a message or null
-
getState
Returns the task status which has ended the object in a language independent format.- Returns:
- Task status which has ended the object
-
getUser
Deprecated.use getUserName() insteadReturns the name and department of the user that has activated the object.- Returns:
- user that has activated the object
-
getProcessId
- Returns:
- the process ID of the task.
-
getModificationFlag
public boolean getModificationFlag()- Returns:
- if a task has been modified
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classAbstractTask
-