nestedstate
Interface FSMAction

All Known Implementing Classes:
WriteLogAction, FSMController.LogWriter, FSMActionList, SkipAction, PrintLeavingStateAction, PrintEnteringStateAction, PrintAction

public abstract interface FSMAction

The FSM uses the command pattern to implement actions. All actions must implement this interface.


Method Summary
 void execute(FSMContext fsmc, java.lang.Object data)
           
 

Method Detail

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