Class TaskInformation


  • public class TaskInformation
    extends Object
    Information about a Task running on a Compute Node.
    • Constructor Detail

      • TaskInformation

        public TaskInformation()
    • Method Detail

      • taskUrl

        public String taskUrl()
        Get the taskUrl value.
        Returns:
        the taskUrl value
      • withTaskUrl

        public TaskInformation withTaskUrl​(String taskUrl)
        Set the taskUrl value.
        Parameters:
        taskUrl - the taskUrl value to set
        Returns:
        the TaskInformation object itself.
      • jobId

        public String jobId()
        Get the jobId value.
        Returns:
        the jobId value
      • withJobId

        public TaskInformation withJobId​(String jobId)
        Set the jobId value.
        Parameters:
        jobId - the jobId value to set
        Returns:
        the TaskInformation object itself.
      • taskId

        public String taskId()
        Get the taskId value.
        Returns:
        the taskId value
      • withTaskId

        public TaskInformation withTaskId​(String taskId)
        Set the taskId value.
        Parameters:
        taskId - the taskId value to set
        Returns:
        the TaskInformation object itself.
      • subtaskId

        public Integer subtaskId()
        Get the subtaskId value.
        Returns:
        the subtaskId value
      • withSubtaskId

        public TaskInformation withSubtaskId​(Integer subtaskId)
        Set the subtaskId value.
        Parameters:
        subtaskId - the subtaskId value to set
        Returns:
        the TaskInformation object itself.
      • taskState

        public TaskState taskState()
        Get possible values include: 'active', 'preparing', 'running', 'completed'.
        Returns:
        the taskState value
      • withTaskState

        public TaskInformation withTaskState​(TaskState taskState)
        Set possible values include: 'active', 'preparing', 'running', 'completed'.
        Parameters:
        taskState - the taskState value to set
        Returns:
        the TaskInformation object itself.
      • executionInfo

        public TaskExecutionInformation executionInfo()
        Get the executionInfo value.
        Returns:
        the executionInfo value
      • withExecutionInfo

        public TaskInformation withExecutionInfo​(TaskExecutionInformation executionInfo)
        Set the executionInfo value.
        Parameters:
        executionInfo - the executionInfo value to set
        Returns:
        the TaskInformation object itself.