Class DroolsConstraint<Solution_>
java.lang.Object
org.optaplanner.constraint.streams.common.AbstractConstraint<Solution_,DroolsConstraint<Solution_>,DroolsConstraintFactory<Solution_>>
org.optaplanner.constraint.streams.drools.DroolsConstraint<Solution_>
- All Implemented Interfaces:
org.optaplanner.core.api.score.stream.Constraint
public final class DroolsConstraint<Solution_>
extends org.optaplanner.constraint.streams.common.AbstractConstraint<Solution_,DroolsConstraint<Solution_>,DroolsConstraintFactory<Solution_>>
-
Constructor Summary
ConstructorsConstructorDescriptionDroolsConstraint(DroolsConstraintFactory<Solution_> constraintFactory, String constraintPackage, String constraintName, Function<Solution_, org.optaplanner.core.api.score.Score<?>> constraintWeightExtractor, org.optaplanner.constraint.streams.common.ScoreImpactType scoreImpactType, boolean isConstraintWeightConfigurable, RuleBuilder<Solution_> ruleBuilder, Object justificationMapping, Object indictedObjectsMapping) -
Method Summary
Methods inherited from class org.optaplanner.constraint.streams.common.AbstractConstraint
assertCorrectImpact, assertCorrectImpact, assertCorrectImpact, extractConstraintWeight, getConstraintFactory, getConstraintId, getConstraintName, getConstraintPackage, getIndictedObjectsMapping, getJustificationMapping, getScoreImpactType
-
Constructor Details
-
DroolsConstraint
public DroolsConstraint(DroolsConstraintFactory<Solution_> constraintFactory, String constraintPackage, String constraintName, Function<Solution_, org.optaplanner.core.api.score.Score<?>> constraintWeightExtractor, org.optaplanner.constraint.streams.common.ScoreImpactType scoreImpactType, boolean isConstraintWeightConfigurable, RuleBuilder<Solution_> ruleBuilder, Object justificationMapping, Object indictedObjectsMapping)
-
-
Method Details