public interface IFlowState
extends java.io.Serializable
IFlow
.Modifier and Type | Method and Description |
---|---|
void |
enter(IFlow flow)
The state is becaming the new current one.
|
void |
exit(IFlow flow)
The state is not the current one anymore.
Exit is called after after the state changing operation completion. |
java.lang.String |
getId()
It must be univoque in an
IFlow . |
void |
start(IFlow flow)
The state is the first state of the flow and is becaming the current one.
|
java.lang.String getId()
IFlow
.IFlow
void exit(IFlow flow)
flow
- void enter(IFlow flow) throws AbortException
flow
- AbortException
- - to abort the state changing.void start(IFlow flow)
flow
-