Interface ConstraintConstructor<Score_ extends org.optaplanner.core.api.score.Score<Score_>,JustificationMapping_,IndictedObjectsMapping_>
- All Known Subinterfaces:
BiConstraintConstructor<A,,B, Score_> QuadConstraintConstructor<A,,B, C, D, Score_> TriConstraintConstructor<A,,B, C, Score_> UniConstraintConstructor<A,Score_>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ConstraintConstructor<Score_ extends org.optaplanner.core.api.score.Score<Score_>,JustificationMapping_,IndictedObjectsMapping_>
-
Method Summary
Modifier and TypeMethodDescriptionorg.optaplanner.core.api.score.stream.Constraintapply(String constraintPackage, String constraintName, Score_ constraintWeight, ScoreImpactType impactType, JustificationMapping_ justificationMapping, IndictedObjectsMapping_ indictedObjectsMapping)
-
Method Details
-
apply
org.optaplanner.core.api.score.stream.Constraint apply(String constraintPackage, String constraintName, Score_ constraintWeight, ScoreImpactType impactType, JustificationMapping_ justificationMapping, IndictedObjectsMapping_ indictedObjectsMapping)
-