public interface Agenda
Agenda provides information about the agenda during
rule engine execution.
The agenda lists and orders the rule instances that are eligible to be
executed. You use an AgendaController instance to filter and
sort the rule instances in the agenda.
The default controller:
| Modifier and Type | Method and Description |
|---|---|
AgendaController |
getAgendaController()
Returns the
AgendaController. |
RuleInstance |
getFirstInstance()
Returns the first
RuleInstance in this Agenda. |
int |
getInstanceCount()
Returns the number of
RuleInstance objects currently in
this Agenda. |
boolean |
isEmpty()
Tests if the
RuleInstance list in this Agenda
is empty. |
java.util.Iterator<RuleInstance> |
iterateInstances()
Returns an object that you use to iterate through the rule instances in this
Agenda. |
java.util.Iterator<RuleInstance> iterateInstances()
Agenda.RuleInstance getFirstInstance()
RuleInstance in this Agenda.int getInstanceCount()
RuleInstance objects currently in
this Agenda.RuleInstance objects currently in
this Agenda.AgendaController getAgendaController()
AgendaController.AgendaController.boolean isEmpty()
RuleInstance list in this Agenda
is empty.Agenda is empty, true is returned.© Copyright IBM Corp. 1987, 2017