Class FlowJob

  • All Implemented Interfaces:
    Job, StepLocator, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean
    Direct Known Subclasses:
    JsrFlowJob

    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
    • Field Detail

      • flow

        protected Flow flow
    • Constructor Detail

      • FlowJob

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

        public FlowJob​(java.lang.String name)
        Create a FlowJob with provided name and no flow (invalid state).
        Parameters:
        name - the name to be associated with the FlowJob.