Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-189

Provide rule metaData in ConstraintMatchTotal

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Optional Optional
    • 6.0.0.CR4
    • 6.0.0.CR3
    • optaplanner-core
    • None

      To be able to classify violated constraints (drools rules) represented by ConstraintMatchTotal I would like to be able to access the rule metaData.

      In current drools version (6.0.0.CR2) this can be done by accessing org.kie.api.definition.rule.Rule#getMetaData() and providing it then to the *ConstraintMatchTotal constructor in AbstractScoreHolder.

              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              reinis_jira Reinis Vicups (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: