Interface JobTask


public interface JobTask
Provides methods to get task information.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the input List of job items for a given task.
    int
    Retrieves the task retry number.
    Retrieves the task ID, such as "TASK1" or "TASK2".
    Retrieves the TaskOutput object which can be used to get or set the output parameters for a given task.
  • Method Details

    • getTaskId

      String getTaskId()
      Retrieves the task ID, such as "TASK1" or "TASK2".
      Returns:
      task ID
    • getRetryAttempt

      int getRetryAttempt()
      Retrieves the task retry number. When the task runs for the first time, this returns 1.
      Returns:
      retry number
    • getTaskOutput

      TaskOutput getTaskOutput()
      Retrieves the TaskOutput object which can be used to get or set the output parameters for a given task.
      Returns:
      TaskOutput a task output object
    • getItems

      List<JobItem> getItems()
      Retrieves the input List of job items for a given task.
      Returns:
      list of job items. If no input, it will return an empty list.