com.x8ing.lsm4j.std
Class EmptyAction

java.lang.Object
  extended by 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

Constructor Summary
EmptyAction()
           
 
Method Summary
 void execute(ProcessableState currentState, StateContext stateContext, Condition previousCondition, java.util.List lastVisitedStatesHistory)
          Will be invoked to process the current state.
 ProcessableState getCurrentState()
           
 java.util.List getLastVisitedStatesHistory()
           
 Condition getPreviousCondition()
           
 StateContext getStateContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyAction

public EmptyAction()
Method Detail

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