public static interface AgendaController.Filter
Filter instance to filter Rule objects when they
are posted into the Agenda. You do this before the Rule
objects are executed.| Modifier and Type | Method and Description |
|---|---|
boolean |
isEligible(RuleInstance ruleInstance)
Tests if a
ruleInstance can be added to the Agenda. |
boolean |
isExecutable(RuleInstance ruleInstance)
Tests if a specific
RuleInstance in the Agenda should
be executed. |
boolean isExecutable(RuleInstance ruleInstance)
RuleInstance in the Agenda should
be executed.ruleInstance - The RuleInstance.ruleInstance can be executed, true is
returned.boolean isEligible(RuleInstance ruleInstance)
ruleInstance can be added to the Agenda.
You test new rule instances before adding them to an Agenda.ruleInstance - The new rule instance.ruleInstance is eligible to be kept in the
Agenda, true is returned.© Copyright IBM Corp. 1987, 2017