newstate
Interface FSMAction
- All Known Implementing Classes:
- FSMController.LogWriter, FSMActionList, WriteLogAction, SkipAction, PrintLeavingStateAction, PrintEnteringStateAction, PrintAction, FullEntry, ProcessChar, CollectEntry, Reset, Init, Skip
- public abstract interface FSMAction
- extends java.io.Serializable
The FSM uses the command pattern to implement actions. All actions must
implement this interface.
Fields inherited from class java.io.Serializable |
serialVersionUID |
execute
public void execute(FSMContext fsmc,
java.lang.Object data)
- Parameters:
fsmc
- This is the context in which the command is executed. The
context can be used as a repository for objects. That is because
FSMContext extends from java.util.Hashtable.data
- Some extra data that can be given to a command