类 SimpleJobBuilder

    • 构造器详细资料

      • SimpleJobBuilder

        public SimpleJobBuilder​(JobBuilderHelper<?> parent)
        Create a new builder initialized with any properties in the parent. The parent is copied, so it can be re-used.
        参数:
        parent - the parent to use
    • 方法详细资料

      • start

        public SimpleJobBuilder start​(Step step)
        Start the job with this step.
        参数:
        step - a step to start with
        返回:
        this for fluent chaining
      • on

        public FlowBuilder.TransitionBuilder<FlowJobBuilderon​(java.lang.String pattern)
        Branch into a flow conditional on the outcome of the current step.
        参数:
        pattern - a pattern for the exit status of the current step
        返回:
        a builder for fluent chaining
      • start

        public JobFlowBuilder start​(JobExecutionDecider decider)
        Start with this decider. Returns a flow builder and when the flow is ended a job builder will be returned to continue the job configuration if needed.
        参数:
        decider - a decider to execute first
        返回:
        builder for fluent chaining
      • next

        public JobFlowBuilder next​(JobExecutionDecider decider)
        Continue with this decider if the previous step was successful. Returns a flow builder and when the flow is ended a job builder will be returned to continue the job configuration if needed.
        参数:
        decider - a decider to execute next
        返回:
        builder for fluent chaining
      • next

        public SimpleJobBuilder next​(Step step)
        Continue or end a job with this step if the previous step was successful.
        参数:
        step - a step to execute next
        返回:
        this for fluent chaining