Package com.uc4.communication.requests
Class GroupMonitor.Task
- java.lang.Object
-
- com.uc4.communication.requests.GroupMonitor.Task
-
- Enclosing class:
- GroupMonitor
public static class GroupMonitor.Task extends java.lang.ObjectThis class represents a task in the Group monitor.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAlias()In contrast togetNamethis method returns always the alias if used.java.lang.StringgetName()Returns the name of the object or an alias if used.java.lang.StringgetObjectName()In contrast to thegetNamethis method returns always the object name.java.lang.StringgetObjectType()Returns the type of the Object.java.lang.StringgetPlatform()Returns the platform of the object or an empty String if a platform is not defined for the object.intgetPriority()Return the priority of the task.intgetRunID()Returns the RunID of the task in the monitor or0if the task has not been executed.DateTimegetStartTime()Return the start time of the task.java.lang.StringgetStateIcon()Returns a description of the used icon for the specific task status.java.lang.StringgetStatus()Returns the status of this task as String which is independent on the logon language.intgetStatusCode()Returns the status of the task as integer.java.lang.StringgetStatusText()Returns a description of the status.java.lang.StringgetUser()Return the user of the task.booleanisRollback()Return that the task can be rollback or not.
-
-
-
Method Detail
-
isRollback
public boolean isRollback()
Return that the task can be rollback or not.- Returns:
- rollback
-
getUser
public java.lang.String getUser()
Return the user of the task.- Returns:
- user
-
getPriority
public int getPriority()
Return the priority of the task.- Returns:
- Priority
-
getStartTime
public DateTime getStartTime()
Return the start time of the task.- Returns:
- Time for task start in hours and minutes.
-
getRunID
public int getRunID()
Returns the RunID of the task in the monitor or0if the task has not been executed.- Returns:
- RunID of the task or zero
-
getObjectType
public java.lang.String getObjectType()
Returns the type of the Object.- Returns:
- Object type
-
getName
public java.lang.String getName()
Returns the name of the object or an alias if used. UsegetObjectNameandgetAliasif you want exclusive information.- Returns:
- name of object or alias.
-
getStatusText
public java.lang.String getStatusText()
Returns a description of the status. This return value depends on the logon language.- Returns:
- description for task status. Possible return values are
described in the status:
AbstractTask.getStatusCode()
-
getStatusCode
public final int getStatusCode()
Returns the status of the task as integer.- Returns:
- Status code or
-1in case of an error
-
getPlatform
public java.lang.String getPlatform()
Returns the platform of the object or an empty String if a platform is not defined for the object.- Returns:
- Platform or an empty String
-
getStatus
public java.lang.String getStatus()
Returns the status of this task as String which is independent on the logon language.- Returns:
- status, possible return values are described in the status table:
AbstractTask.getStatusCode()
-
getStateIcon
public java.lang.String getStateIcon()
Returns a description of the used icon for the specific task status.- Returns:
- description of the state icon
-
getAlias
public java.lang.String getAlias()
In contrast togetNamethis method returns always the alias if used.- Returns:
- the alias as String or empty String no alias is used.
-
getObjectName
public java.lang.String getObjectName()
In contrast to thegetNamethis method returns always the object name.- Returns:
- the name of the object.
-
-