newstate
Interface FSMAction
- All Known Implementing Classes:
- FSMController.LogWriter, FSMActionList, WriteLogAction, SkipAction, PrintLeavingStateAction, PrintEnteringStateAction, PrintAction
- public abstract interface FSMAction
The FSM uses the command pattern to implement actions. All actions must
implement this interface.
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