Class JobBuilder


  • public class JobBuilder
    extends JobBuilderHelper<JobBuilder>
    Convenience for building jobs of various kinds.
    Since:
    2.2
    Author:
    Dave Syer
    • Constructor Detail

      • JobBuilder

        public JobBuilder​(java.lang.String name)
        Create a new builder for a job with the given name.
        Parameters:
        name - the name of the job
    • Method Detail

      • start

        public SimpleJobBuilder start​(Step step)
        Create a new job builder that will execute a step or sequence of steps.
        Parameters:
        step - a step to execute
        Returns:
        a SimpleJobBuilder
      • flow

        public JobFlowBuilder flow​(Step step)
        Create a new job builder that will execute a step or sequence of steps.
        Parameters:
        step - a step to execute
        Returns:
        a SimpleJobBuilder