|Modifier and Type
|Method and Description
The name of the state.
Handle some business or processing logic and return a status that can be used to drive a flow to the next
Inquire as to whether a
State is an end state.
FlowExecutionStatus handle(FlowExecutor executor) throws Exception
State. The status can be any
string, but special meaning is assigned to the static constants in
FlowExecution. The context can be used by implementations to do
whatever they need to do. The same context will be passed to all
State instances, so implementations should be careful that the
context is thread safe, or used in a thread safe manner.
executor - the context passed in by the caller
Exception - if anything goes wrong
Copyright © 2014 Pivotal. All rights reserved.