com.evelopers.unimod.runtime.interpretation
Class CalculatedInputActions

java.lang.Object
  extended bycom.evelopers.unimod.runtime.interpretation.CalculatedInputActions

abstract class CalculatedInputActions
extends java.lang.Object

Map of Action that was already calculated during expression interpreting. It allows to calculate Actions' values only once during event processing.


Constructor Summary
CalculatedInputActions(ActionExecutor actionExecutor)
           
 
Method Summary
protected abstract  void fireAfter(StateMachineContext context, Action action, java.lang.Object result)
          Does nothing may be overriden to send notification
protected abstract  void fireBefore(StateMachineContext context, Action action)
          Does nothing may be overriden to send notification
 boolean getBool(Action action, StateMachineContext context)
           
 int getNum(Action action, StateMachineContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalculatedInputActions

public CalculatedInputActions(ActionExecutor actionExecutor)
Method Detail

getNum

public int getNum(Action action,
                  StateMachineContext context)
           throws InterpreterException
Throws:
InterpreterException

getBool

public boolean getBool(Action action,
                       StateMachineContext context)
                throws InterpreterException
Throws:
InterpreterException

fireBefore

protected abstract void fireBefore(StateMachineContext context,
                                   Action action)
Does nothing may be overriden to send notification

Parameters:
action -

fireAfter

protected abstract void fireAfter(StateMachineContext context,
                                  Action action,
                                  java.lang.Object result)
Does nothing may be overriden to send notification

Parameters:
action -
result -