Interface JobResult


public interface JobResult
Represents information about a Job's task results. For example, the total number of tasks, number of completed tasks, and number of failed tasks.

An instance of this object is available in the final phase of the job lifecycle via JobCompletionContext.getJobResult().

  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Retrieves the number of completed tasks for this job.
    int
    Retrieves the number of failed tasks for this job.
    int
    Retrieves the number of tasks in this job.
  • Method Details

    • getNumberTasks

      int getNumberTasks()
      Retrieves the number of tasks in this job.
      Returns:
      the number of tasks
    • getNumberCompletedTasks

      int getNumberCompletedTasks()
      Retrieves the number of completed tasks for this job.
      Returns:
      the number of completed tasks
    • getNumberFailedTasks

      int getNumberFailedTasks()
      Retrieves the number of failed tasks for this job.
      Returns:
      the number of failed tasks