com.evelopers.unimod.runtime.interpretation
Class CalculatedInputActions
java.lang.Object
com.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalculatedInputActions
public CalculatedInputActions(ActionExecutor actionExecutor)
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
-