Class GroupMonitor.Task

java.lang.Object
com.uc4.communication.requests.GroupMonitor.Task
Enclosing class:
GroupMonitor

public static class GroupMonitor.Task extends Object
This class represents a task in the Group monitor.
  • Method Details

    • isRollback

      public boolean isRollback()
      Return that the task can be rollback or not.
      Returns:
      rollback
    • getUser

      public 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 or 0 if the task has not been executed.
      Returns:
      RunID of the task or zero
    • getObjectType

      public String getObjectType()
      Returns the type of the Object.
      Returns:
      Object type
    • getName

      public String getName()
      Returns the name of the object or an alias if used. Use getObjectName and getAlias if you want exclusive information.
      Returns:
      name of object or alias.
    • getStatusText

      public 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 -1 in case of an error
    • getPlatform

      public 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 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 String getStateIcon()
      Returns a description of the used icon for the specific task status.
      Returns:
      description of the state icon
    • getAlias

      public String getAlias()
      In contrast to getName this method returns always the alias if used.
      Returns:
      the alias as String or empty String no alias is used.
    • getObjectName

      public String getObjectName()
      In contrast to the getName this method returns always the object name.
      Returns:
      the name of the object.