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

Take AgendaFilter in RuleUnitInstance.fire()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major 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
    • ---
    • ---

      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)`

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

                Created:
                Updated:
                Resolved: