Rule Execution Server API

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

All Superinterfaces:
Comparator<RuleInstance>
Enclosing interface:
AgendaController

public static interface AgendaController.Sorter
extends Comparator<RuleInstance>

You use a Sorter instance to organize the list of ruleInstance objects contained in an Agenda


Method Summary
 int getBucketId(RuleInstance rule)
          Returns the rank of a RuleInstance in the Agenda
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Method Detail

getBucketId

int getBucketId(RuleInstance rule)
Returns the rank of a RuleInstance in the Agenda
Parameters:
rule - The RuleInstance whose rank you want to know.
Returns:
The rank of rule in the Agenda

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013