public class JsrStepState extends StepState
StepState
を拡張して、実行された最後のステップが何であったかを保持します(決定および再起動で使用)。コンストラクターと説明 |
---|
JsrStepState(Step step) |
JsrStepState(java.lang.String name, Step step) |
修飾子と型 | メソッドと説明 |
---|---|
FlowExecutionStatus | handle(FlowExecutor executor) 一部のビジネスロジックまたは処理ロジックを処理し、次の State にフローを駆動するために使用できるステータスを返します。 |
getStep, getStep, getStepNames, isEndState
getName, toString
public JsrStepState(Step step)
step
- 実行されるステップ public JsrStepState(java.lang.String name, Step step)
name
- 実行されるステップの場合 step
- 実行されるステップ public FlowExecutionStatus handle(FlowExecutor executor) throws java.lang.Exception
State
State
にフローを駆動するために使用できるステータスを返します。ステータスは任意の文字列にすることができますが、FlowExecution
の静的定数には特別な意味が割り当てられています。コンテキストは、実装で必要なことを何でも行うために使用できます。同じコンテキストがすべての State
インスタンスに渡されるため、実装では、コンテキストがスレッドセーフであるか、スレッドセーフな方法で使用されるように注意する必要があります。