|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface AgendaController.Filter
You use a Filter
instance to filter Rule
objects when they
are posted into the Agenda
. You do this before the Rule
objects are executed.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |