Annotation Type ConstraintConfiguration
@Target(TYPE) @Retention(RUNTIME) public @interface ConstraintConfigurationAllows end users to change the constraint weights, by not hard coding them. This annotation specifies that the class holds a number of
ConstraintWeightannotated members. That class must also have a
weightfor each of the constraints.
PlanningSolutionhas at most one field or property annotated with
ConstraintConfigurationProviderwith returns a type of the
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description
constraintPackageThe namespace of the constraints.
String constraintPackageThe namespace of the constraints.
This is the default for every
ConstraintWeight.constraintPackage()in the annotated class.
- defaults to the annotated class's package.