class FiringRulesState extends Object implements CycleState
CycleState interface. It fires the
reactive rules and get the new goals to solve.CycleState,
ReactiveRuleSet| Constructor and Description |
|---|
FiringRulesState()
Empty constructor of the class.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
fireRules(RuleSet events)
This is the private action of the state.
|
void |
handlerMethod(CycleHandler STATE_CONTEXT,
String NAME,
RuleSet events)
This is the implementation of the
CycleState#handlerMethod(). |
public void handlerMethod(CycleHandler STATE_CONTEXT, String NAME, RuleSet events)
CycleState#handlerMethod(). Here it fires the
reactive rules and gets the new goals to solve.handlerMethod in interface CycleStateSTATE_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.CycleState.handlerMethod(CycleHandler, String, RuleSet)private void fireRules(RuleSet events)
handlerMethod(). Here this fires the reactive
rules and gets the new goals to solve.events - ReactiveRuleSet.fireRules(RuleSet, List),
handlerMethod(CycleHandler, String, RuleSet)