Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7232

Take AgendaFilter in RuleUnitInstance.fire()

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 8.32.0.Final
    • 8.29.0.Final
    • core engine
    • None
    • 2022 Week 44-46 (from Oct 31), 2022 Week 47-49 (from Nov 21)
    • 2
    • NEW
    • NEW
    • ---
    • ---

    Description

      Issue Description:

      Currently, RuleUnitInstance.fire() doesn't take AgendaFilter as an argument. Technically, we can use AgendaFilter like this:

      ReteEvaluator evaluator = (ReteEvaluator)((AbstractRuleUnitInstance) instance).getEvaluator();
      evaluator.fireAllRules(new RuleNameStartsWithAgendaFilter("xxx"));
      

      But this JIRA is to add a method `fire(AgendaFilter filter)` to RuleUnitInstance

      Acceptance Criteria:

      Have a method `RuleUnitInstance.fire(AgendaFilter filter)`

      Attachments

        Activity

          People

            rhn-support-tkobayas Toshiya Kobayashi
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: