|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Rule-firing Agenda.
Since many rules may be matched by a single assertObject(...)
all scheduled actions are placed into the Agenda
.
While processing a scheduled action, it may modify or retract objects in other scheduled actions, which must then be removed from the agenda. Non-invalidated actions are left on the agenda, and are executed in turn.
Method Summary | |
void |
fireNextItem()
Fire the next scheduled Agenda item. |
boolean |
isEmpty()
Determine if this Agenda has any
scheduled items. |
Method Detail |
public boolean isEmpty()
Agenda
has any
scheduled items.true if the agenda is empty, otherwise
false
.
public void fireNextItem() throws ConsequenceException
Agenda
item.ConsequenceException
- If an error occurs while
firing an agenda item.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |