Interface JobCompletionContext

All Superinterfaces:
JobContext

public interface JobCompletionContext extends JobContext
Context given to Job's complete methods.
  • Method Details

    • getTasks

      @Deprecated List<JobTask> getTasks()
      Deprecated.
      as of 22R2.2, replaced by getSuccessTasks() and getErrorTasks().
      Retrieves the list of tasks in this Job.
      Returns:
      List of JobTasks
    • getSuccessTasks

      List<JobTask> getSuccessTasks()
      Retrieves the list of tasks in this Job that completed successfully.
      Returns:
      List of JobTasks
    • getErrorTasks

      List<JobTask> getErrorTasks()
      Retrieves the list of tasks in this Job that completed with errors or failed.
      Returns:
      List of JobTasks
    • getJobResult

      JobResult getJobResult()
      Retrieves the job status, from which you can retrieve the number of tasks which failed or succeeded.
      Returns:
      JobResult object