java.lang.Object
org.springframework.batch.core.job.AbstractJob
org.springframework.batch.core.job.flow.FlowJob
All Implemented Interfaces:
Job, StepLocator, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

public class FlowJob extends AbstractJob
Implementation of the Job interface that allows for complex flows of steps, rather than requiring sequential execution. In general, this job implementation was designed to be used behind a parser, allowing for a namespace to abstract away details.
Since:
2.0
Author:
Dave Syer, Mahmoud Ben Hassine, Taeik Lim
  • Field Details

    • flow

      protected Flow flow
  • Constructor Details

    • FlowJob

      public FlowJob()
      Create a FlowJob with null name and no flow (invalid state).
    • FlowJob

      public FlowJob(String name)
      Create a FlowJob with provided name and no flow (invalid state).
      Parameters:
      name - the name to be associated with the FlowJob.
  • Method Details