com.ibm.rules.engine.ruledef.runtime

Interface AgendaController.Sorter

  • All Superinterfaces:
    java.util.Comparator<RuleInstance>
    Enclosing interface:
    AgendaController


    public static interface AgendaController.Sorter
    extends java.util.Comparator<RuleInstance>
    You use a Sorter instance to organize the list of ruleInstance objects contained in an Agenda
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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

© Copyright IBM Corp. 1987, 2017