Class TaskJobExecutionRel

java.lang.Object
org.springframework.cloud.dataflow.rest.job.TaskJobExecutionRel

public class TaskJobExecutionRel extends Object
Enumerates the relation a TaskExecution has with its associate Job Execution Ids and Manifest
Author:
Glenn Renfro
  • Constructor Details

    • TaskJobExecutionRel

      public TaskJobExecutionRel(org.springframework.cloud.task.repository.TaskExecution taskExecution, List<Long> jobExecutionIds, TaskManifest taskManifest, TaskJobExecution composedTaskJobExecution)
      Constructor that establishes the relationship between a TaskExecution and the Job Execution Ids of the jobs that were executed within it.
      Parameters:
      taskExecution - to be associated with the job execution ids.
      jobExecutionIds - to be associated with the task execution.
      taskManifest - to be associated with the task execution.
      composedTaskJobExecution - to be associated with the task execution.
  • Method Details

    • getTaskExecution

      public org.springframework.cloud.task.repository.TaskExecution getTaskExecution()
      Returns:
      the taskExecution for this relationship.
    • getJobExecutionIds

      public List<Long> getJobExecutionIds()
      Returns:
      the job execution ids that are associated with the TaskExecution in this relationship.
    • getTaskManifest

      public TaskManifest getTaskManifest()
      Returns:
      the task manifest associated with the TaskExecution. Could be null.
    • getComposedTaskJobExecution

      public TaskJobExecution getComposedTaskJobExecution()