public interface Flow
修飾子と型 | メソッドと説明 |
---|---|
java.lang.String | getName() |
State | getState(java.lang.String stateName) 指定された名前の状態を取得します。 |
java.util.Collection<State> | getStates() このフローの状態を調査する必要があるクライアントのための便利なアクセサー。 |
FlowExecution | resume(java.lang.String stateName, FlowExecutor executor) |
FlowExecution | start(FlowExecutor executor) |
java.lang.String getName()
State getState(java.lang.String stateName)
stateName
- 取得する状態の名前 FlowExecution start(FlowExecutor executor) throws FlowExecutionException
executor
- フローの実行に使用する FlowExecutor
インスタンス。FlowExecution
。FlowExecutionException
- フローの実行中にエラーが発生した場合にスローされます。FlowExecution resume(java.lang.String stateName, FlowExecutor executor) throws FlowExecutionException
stateName
- 再開する状態の名前。executor
- 実行される各状態に渡されるコンテキスト。FlowExecution
。FlowExecutionException
- フローの実行中にエラーが発生した場合にスローされます。java.util.Collection<State> getStates()