Rule Execution Server API

com.ibm.rules.engine.ruledef.runtime
Interface AgendaController.Filter

Enclosing interface:
AgendaController

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

isExecutable

boolean isExecutable(RuleInstance ruleInstance)
Tests if a specific RuleInstance in the Agenda should be executed.

Parameters:
ruleInstance - The RuleInstance.
Returns:
If ruleInstance can be executed, true is returned.

isEligible

boolean isEligible(RuleInstance ruleInstance)
Tests if a ruleInstance can be added to the Agenda. You test new rule instances before adding them to an Agenda.

Parameters:
ruleInstance - The new rule instance.
Returns:
If ruleInstance is eligible to be kept in the Agenda, true is returned.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013