|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.step.AbstractStep
org.springframework.batch.core.job.flow.FlowStep
public class FlowStep
A XPath.Step implementation that delegates to a Flow. Useful for
logical grouping of steps, and especially for partitioning with multiple
steps per execution. If the flow has steps then when the FlowStep
executes, all steps including the parent FlowStep will have
executions in the JobRepository (one for the parent and one each for
the flow steps).
| Constructor Summary | |
|---|---|
FlowStep()
Default constructor convenient for configuration purposes. |
|
FlowStep(Flow flow)
Constructor for a FlowStep that sets the flow and of the step
explicitly. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Ensure that the flow is set. |
protected void |
doExecute(StepExecution stepExecution)
Delegate to the flow provided for the execution of the step. |
void |
setFlow(Flow flow)
Public setter for the flow. |
| Methods inherited from class org.springframework.batch.core.step.AbstractStep |
|---|
close, execute, getCompositeListener, getJobRepository, getName, getStartLimit, isAllowStartIfComplete, open, registerStepExecutionListener, setAllowStartIfComplete, setBeanName, setJobRepository, setName, setStartLimit, setStepExecutionListeners, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FlowStep()
public FlowStep(Flow flow)
FlowStep that sets the flow and of the step
explicitly.
| Method Detail |
|---|
public void setFlow(Flow flow)
flow - the flow to set
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class AbstractStepExceptionAbstractStep.afterPropertiesSet()
protected void doExecute(StepExecution stepExecution)
throws Exception
doExecute in class AbstractStepstepExecution - the current step context
ExceptionAbstractStep.doExecute(StepExecution)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||