interface CycleState
DatabaseUpdateState,
FiringRulesState and SolvingGoalState.CycleHandler| Modifier and Type | Method and Description |
|---|---|
void |
handlerMethod(CycleHandler STATE_CONTEXT,
String NAME,
RuleSet events)
Sends the request to the current state to operate its behavior.
|
void handlerMethod(CycleHandler STATE_CONTEXT, String NAME, RuleSet events)
This method should be the only way to perform the action of a state. It
is called by the handlerMethod() of the class CycleHandler which manages the
cycles.
STATE_CONTEXT - the manager of the state which is here the only instance of
CycleHandler.NAME - the name of the step. It has no use except to debug.events - an object RuleSet that contains the events/actions
that will be or have been performed during the very cycle.