# Uses of Class
org.springframework.batch.core.job.builder.FlowBuilder

Packages that use FlowBuilder
Package
Description
org.springframework.batch.core.job.builder
Job and flow level builders for java based configuration of batch jobs

- ## Uses of FlowBuilder in org.springframework.batch.core.job.builder

  Subclasses of FlowBuilder in org.springframework.batch.core.job.builder
  Modifier and Type
  Class
  Description
  `class`
  `JobFlowBuilder`
  Methods in org.springframework.batch.core.job.builder that return FlowBuilder
  Modifier and Type
  Method
  Description
  `FlowBuilder<Q>`
  FlowBuilder.SplitBuilder.`add(Flow... flows)`
  Add flows to the split, in addition to the current state already present in the parent builder.
  `FlowBuilder<Q>`
  FlowBuilder.TransitionBuilder.`end()`
  Signal the successful end of the flow.
  `FlowBuilder<Q>`
  FlowBuilder.TransitionBuilder.`end(String status)`
  Signal the end of the flow with the status provided.
  `FlowBuilder<Q>`
  FlowBuilder.TransitionBuilder.`fail()`
  Signal the end of the flow with an error condition.
  `FlowBuilder<Q>`
  FlowBuilder.`from(Flow flow)`
  Start again from a subflow that was already registered.
  `FlowBuilder<Q>`
  FlowBuilder.`from(Step step)`
  Go back to a previously registered step and start a new path.
  `FlowBuilder<Q>`
  FlowBuilder.`next(Flow flow)`
  Go next on successful completion to a subflow.
  `FlowBuilder<Q>`
  FlowBuilder.`next(Step step)`
  Transition to the next step on successful completion of the current step.
  `FlowBuilder<Q>`
  FlowBuilder.`start(Flow flow)`
  If a flow should start with a subflow use this as the first state.
  `FlowBuilder<Q>`
  FlowBuilder.`start(Step step)`
  Start a flow.
  `FlowBuilder<Q>`
  FlowBuilder.TransitionBuilder.`stop()`
  Signal the successful end of the flow.
  `FlowBuilder<Q>`
  FlowBuilder.TransitionBuilder.`stopAndRestart(Flow flow)`
  Stop the flow and provide a flow to start with if the flow is restarted.
  `FlowBuilder<Q>`
  FlowBuilder.TransitionBuilder.`stopAndRestart(JobExecutionDecider decider)`
  Stop the flow and provide a decider to start with if the flow is restarted.
  `FlowBuilder<Q>`
  FlowBuilder.TransitionBuilder.`stopAndRestart(Step restart)`
  Stop the flow and provide a step to start with if the flow is restarted.
  `FlowBuilder<Q>`
  FlowBuilder.TransitionBuilder.`to(Flow flow)`
  Specify the next state as a complete flow.
  `FlowBuilder<Q>`
  FlowBuilder.TransitionBuilder.`to(JobExecutionDecider decider)`
  Specify the next state as a decision.
  `FlowBuilder<Q>`
  FlowBuilder.TransitionBuilder.`to(Step step)`
  Specify the next step.
  Constructors in org.springframework.batch.core.job.builder with parameters of type FlowBuilder
  Modifier
  Constructor
  Description
  ``
  `SplitBuilder(FlowBuilder<Q> parent, org.springframework.core.task.TaskExecutor executor)`
  ``
  `TransitionBuilder(FlowBuilder<Q> parent, String pattern)`
  ``
  `UnterminatedFlowBuilder(FlowBuilder<Q> parent)`