public class JsrFlow extends SimpleFlow
Flow
実装は、提供された終了ステータスに基づいて次の状態を見つけようとします。何も見つからない場合(終了ステータスがマップされていない場合)、最後のステップのバッチステータスに基づいて次の状態の解決を試みます。両方の試行が失敗した場合にのみ、次の状態を見つけることができないため、フローは失敗します。コンストラクターと説明 |
---|
JsrFlow(java.lang.String name) |
修飾子と型 | メソッドと説明 |
---|---|
java.lang.String | getMostRecentStepName() |
protected boolean | isFlowContinued(State state, FlowExecutionStatus status, StepExecution stepExecution) |
protected State | nextState(java.lang.String stateName, FlowExecutionStatus status, StepExecution stepExecution) |
afterPropertiesSet, getName, getStartState, getState, getStateMap, getStates, getTransitionMap, resume, setStateTransitionComparator, setStateTransitions, start
@Nullable public java.lang.String getMostRecentStepName()
protected boolean isFlowContinued(State state, FlowExecutionStatus status, StepExecution stepExecution)
SimpleFlow
の isFlowContinued
protected State nextState(java.lang.String stateName, FlowExecutionStatus status, StepExecution stepExecution) throws FlowExecutionException
SimpleFlow
の nextState
stateName
- 次の状態の名前。status
- FlowExecutionStatus
インスタンス。stepExecution
- StepExecution
インスタンス。Step
(これで終わりの場合は null)FlowExecutionException
- nextState 処理中にエラーが発生した場合にスローされます。