# Uses of Interface
org.springframework.batch.core.job.flow.Flow

Packages that use Flow
Package
Description
org.springframework.batch.core.configuration.xml
Parsers for XML based configuration
org.springframework.batch.core.job.builder
Job and flow level builders for java based configuration of batch jobs
org.springframework.batch.core.job.flow
Flow related constructs including Flow interface, executors, and related exceptions
org.springframework.batch.core.job.flow.support
Basic implementations of flow constructs
org.springframework.batch.core.job.flow.support.state
States used in defining the underlying Spring Batch state machine
org.springframework.batch.core.step.builder
Step level builders for java based job configuration.
org.springframework.batch.integration.partition
Remote partitioning components.

- ## Uses of Flow in org.springframework.batch.core.configuration.xml

  Methods in org.springframework.batch.core.configuration.xml that return types with arguments of type Flow
  Modifier and Type
  Method
  Description
  `Collection<Flow>`
  SimpleFlowFactoryBean.DelegateState.`getFlows()`
  Methods in org.springframework.batch.core.configuration.xml with parameters of type Flow
  Modifier and Type
  Method
  Description
  `void`
  JobParserJobFactoryBean.`setFlow(Flow flow)`
  `void`
  StepParserStepFactoryBean.`setFlow(Flow flow)`

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

  Methods in org.springframework.batch.core.job.builder that return Flow
  Modifier and Type
  Method
  Description
  `protected Flow`
  FlowBuilder.`flow()`
  Methods in org.springframework.batch.core.job.builder with parameters of type Flow
  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.
  `protected FlowJobBuilder`
  FlowJobBuilder.`flow(Flow flow)`
  Provide a single flow to execute as the job.
  `FlowBuilder<Q>`
  FlowBuilder.`from(Flow flow)`
  Start again from a subflow that was already registered.
  `FlowBuilder<Q>`
  FlowBuilder.`next(Flow flow)`
  Go next on successful completion to a subflow.
  `FlowBuilder<Q>`
  FlowBuilder.`start(Flow flow)`
  If a flow should start with a subflow use this as the first state.
  `JobFlowBuilder`
  FlowJobBuilder.`start(Flow flow)`
  Start a job with this flow, but expect to transition from there to other flows or steps.
  `JobFlowBuilder`
  JobBuilder.`start(Flow flow)`
  Create a new job builder that will execute a 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.`to(Flow flow)`
  Specify the next state as a complete flow.
  Constructors in org.springframework.batch.core.job.builder with parameters of type Flow
  Modifier
  Constructor
  Description
  ``
  `JobFlowBuilder(FlowJobBuilder parent, Flow flow)`

- ## Uses of Flow in org.springframework.batch.core.job.flow

  Fields in org.springframework.batch.core.job.flow declared as Flow
  Modifier and Type
  Field
  Description
  `protected Flow`
  FlowJob.`flow`
  Methods in org.springframework.batch.core.job.flow that return types with arguments of type Flow
  Modifier and Type
  Method
  Description
  `Collection<Flow>`
  FlowHolder.`getFlows()`
  Methods in org.springframework.batch.core.job.flow with parameters of type Flow
  Modifier and Type
  Method
  Description
  `void`
  FlowJob.`setFlow(Flow flow)`
  Public setter for the flow.
  `void`
  FlowStep.`setFlow(Flow flow)`
  Public setter for the flow.
  Constructors in org.springframework.batch.core.job.flow with parameters of type Flow
  Modifier
  Constructor
  Description
  ``
  `FlowStep(Flow flow)`
  Constructor for a `FlowStep` that sets the flow and of the step explicitly.

- ## Uses of Flow in org.springframework.batch.core.job.flow.support

  Classes in org.springframework.batch.core.job.flow.support that implement Flow
  Modifier and Type
  Class
  Description
  `class`
  `SimpleFlow`
  A `Flow` that branches conditionally depending on the exit status of the last `State`.

- ## Uses of Flow in org.springframework.batch.core.job.flow.support.state

  Methods in org.springframework.batch.core.job.flow.support.state that return types with arguments of type Flow
  Modifier and Type
  Method
  Description
  `Collection<Flow>`
  FlowState.`getFlows()`
  `Collection<Flow>`
  SplitState.`getFlows()`
  Constructors in org.springframework.batch.core.job.flow.support.state with parameters of type Flow
  Modifier
  Constructor
  Description
  ``
  `FlowState(Flow flow, String name)`
  Constructor parameters in org.springframework.batch.core.job.flow.support.state with type arguments of type Flow
  Modifier
  Constructor
  Description
  ``
  `SplitState(Collection<Flow> flows, String name)`

- ## Uses of Flow in org.springframework.batch.core.step.builder

  Methods in org.springframework.batch.core.step.builder with parameters of type Flow
  Modifier and Type
  Method
  Description
  `FlowStepBuilder`
  FlowStepBuilder.`flow(Flow flow)`
  Provide a flow to execute during the step.
  `FlowStepBuilder`
  StepBuilder.`flow(Flow flow)`
  Create a new step builder that will execute a flow.

- ## Uses of Flow in org.springframework.batch.integration.partition

  Methods in org.springframework.batch.integration.partition with parameters of type Flow
  Modifier and Type
  Method
  Description
  `FlowStepBuilder`
  RemotePartitioningWorkerStepBuilder.`flow(Flow flow)`