public class FlowStep extends AbstractStep
Flow
に委譲する Step
実装。ステップの論理的なグループ化、特に実行ごとに複数のステップを使用するパーティション化に役立ちます。フローにステップがある場合、FlowStep
が実行されると、親 FlowStep
を含むすべてのステップが JobRepository
で実行されます(親用に 1 つ、フローステップ用に 1 つ)。STEP_TYPE_KEY
コンストラクターと説明 |
---|
FlowStep() 構成に便利なデフォルトのコンストラクター。 |
FlowStep(Flow flow) フローとステップを明示的に設定する FlowStep のコンストラクター。 |
修飾子と型 | メソッドと説明 |
---|---|
void | afterPropertiesSet() フローが設定されていることを確認します。 |
protected void | doExecute(StepExecution stepExecution) ステップの実行のために提供されたフローに委譲します。 |
void | setFlow(Flow flow) フローのパブリック setter。 |
close, doExecutionRegistration, doExecutionRelease, execute, getCompositeListener, getJobRepository, getName, getStartLimit, isAllowStartIfComplete, open, registerStepExecutionListener, setAllowStartIfComplete, setBeanName, setJobRepository, setName, setStartLimit, setStepExecutionListeners, toString
public void setFlow(Flow flow)
flow
- 設定する流れ public void afterPropertiesSet() throws java.lang.Exception
org.springframework.beans.factory.InitializingBean
の afterPropertiesSet
AbstractStep
の afterPropertiesSet
java.lang.Exception
AbstractStep.afterPropertiesSet()
protected void doExecute(StepExecution stepExecution) throws java.lang.Exception
AbstractStep
の doExecute
stepExecution
- 現在のステップのコンテキスト java.lang.Exception
- 実装によってスローされたチェック済み例外 AbstractStep.doExecute(StepExecution)