类 FlowStep
- java.lang.Object
- org.springframework.batch.core.step.AbstractStep
- org.springframework.batch.core.job.flow.FlowStep
- 所有已实现的接口:
Step
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.InitializingBean
public class FlowStep extends AbstractStep
AStep
implementation that delegates to aFlow
. Useful for logical grouping of steps, and especially for partitioning with multiple steps per execution. If the flow has steps then when theFlowStep
executes, all steps including the parentFlowStep
will have executions in theJobRepository
(one for the parent and one each for the flow steps).- 作者:
- Dave Syer
字段概要
从接口继承的字段 org.springframework.batch.core.Step
STEP_TYPE_KEY
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.从类继承的方法 org.springframework.batch.core.step.AbstractStep
close, doExecutionRegistration, doExecutionRelease, execute, getCompositeListener, getJobRepository, getName, getStartLimit, isAllowStartIfComplete, open, registerStepExecutionListener, setAllowStartIfComplete, setBeanName, setJobRepository, setName, setStartLimit, setStepExecutionListeners, toString
方法详细资料
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
Ensure that the flow is set.- 指定者:
afterPropertiesSet
在接口中org.springframework.beans.factory.InitializingBean
- 覆盖:
afterPropertiesSet
在类中AbstractStep
- 抛出:
java.lang.Exception
- 另请参阅:
AbstractStep.afterPropertiesSet()
doExecute
protected void doExecute(StepExecution stepExecution) throws java.lang.Exception
Delegate to the flow provided for the execution of the step.- 指定者:
doExecute
在类中AbstractStep
- 参数:
stepExecution
- the current step context- 抛出:
java.lang.Exception
- checked exception thrown by implementation- 另请参阅:
AbstractStep.doExecute(StepExecution)