com.x8ing.lsm4j.std
Class EmptyAction
java.lang.Object
com.x8ing.lsm4j.std.EmptyAction
- All Implemented Interfaces:
- Action
public class EmptyAction
- extends java.lang.Object
- implements Action
An Action that does nothing but stores all parameters as members.
- Author:
- Patrick Heusser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyAction
public EmptyAction()
execute
public void execute(ProcessableState currentState,
StateContext stateContext,
Condition previousCondition,
java.util.List lastVisitedStatesHistory)
- Description copied from interface:
Action
- Will be invoked to process the current state.
- Specified by:
execute
in interface Action
lastVisitedStatesHistory
- Contains the last visited states as a list. The element with
index 0 ist the current State. The size of the history is
defined in the graph. Type: ProcessableState
getCurrentState
public ProcessableState getCurrentState()
getLastVisitedStatesHistory
public java.util.List getLastVisitedStatesHistory()
getPreviousCondition
public Condition getPreviousCondition()
getStateContext
public StateContext getStateContext()
by Patrick Heusser