com.ibm.rules.engine.ruledef.runtime

Interface RuleEngineOutput

    • Method Detail

      • getExecutedRuleInstanceCount

        int getExecutedRuleInstanceCount()
        Returns the number of rule instances executed.
        Returns:
        The number of executed rule instances.
      • isAgendaEmpty

        boolean isAgendaEmpty()
        Tests if the Agenda is empty.
        Throws:
        java.lang.IllegalStateException - if the engine does not support the Agenda.
        Returns:
        If the Agenda was empty when the RuleEngine finished executing, true is returned.
      • getLastRuleInstance

        RuleInstance getLastRuleInstance()
        Returns the last Rule instance that was executed.
        Throws:
        java.lang.IllegalStateException - if the engine does not support the Agenda.
        Returns:
        The last Rule instance that was executed. If no Rule was executed, null is returned.

© Copyright IBM Corp. 1987, 2017