Rule Execution Server API

ilog.rules.engine
Interface IlrAgendaFilter

All Known Implementing Classes:
IlrPackageFilter, IlrPropertyFilter

public interface IlrAgendaFilter

This interface is used to select rule instances in the agenda. The rule engine calls the toFire method with the rule instance as a parameter, and decides whether the instance is to be fired depending on the return value.

Since:
4.0

Method Summary
 boolean toFire(IlrRuleInstance instance)
          Tests whether the rule instance passed as a parameter is to be fired.
 

Method Detail

toFire

boolean toFire(IlrRuleInstance instance)

Tests whether the rule instance passed as a parameter is to be fired.

Parameters:
instance - The rule instance to be fired.
Returns:
true if the rule instance is to be fired, and false if the rule instance is not to be fired.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013