インターフェース Flow

すべての既知の実装クラス:
SimpleFlow

public interface Flow
導入:
2.0
作成者:
Dave Syer
  • メソッドの詳細

    • getName

      StringSE getName()
      戻り値:
      フローの名前
    • getState

      State getState(StringSE stateName)
      指定された名前の状態を取得します。指定された名前の状態がない場合は、null を返します。
      パラメーター:
      stateName - 取得する状態の名前
      戻り値:
      状態
    • start

      パラメーター:
      executor - フローの実行に使用する FlowExecutor インスタンス。
      戻り値:
      フローの終了ステータスを含む FlowExecution
      例外:
      FlowExecutionException - フローの実行中にエラーが発生した場合にスローされます。
    • resume

      FlowExecution resume(StringSE stateName, FlowExecutor executor) throws FlowExecutionException
      パラメーター:
      stateName - 再開する状態の名前。
      executor - 実行される各状態に渡されるコンテキスト。
      戻り値:
      フローの終了ステータスを含む FlowExecution
      例外:
      FlowExecutionException - フローの実行中にエラーが発生した場合にスローされます。
    • getStates

      CollectionSE<State> getStates()
      このフローの状態を調査する必要があるクライアントのための便利なアクセサー。
      戻り値:
      状態