-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
- ConstraintType is now an enum and so it's annoying to add VERY_SOFT etc (you can't reuse the ConstraintOccurrence implementations).
- ConstraintType should not make a difference between positive and negative hard constraints
- ConstraintOccurrenceTotal should give domain and api support to understand and enumerate the total of the rules.
Think about:
- new IntConstraintOccurrenceTotal(int level, String ruleId, boolean positiveOrNegative)
- myIntConstraintOccurrenceTotal.createOcccurence(weight, causes)
- LevelBasedScore (instead of HardAndSoftScore?)