Annotation Type ConstraintConfiguration
-
@Target(TYPE) @Retention(RUNTIME) public @interface ConstraintConfiguration
Allows end users to change the constraint weights, by not hard coding them. This annotation specifies that the class holds a number ofConstraintWeightannotated members. That class must also have aweightfor each of the constraints.A
PlanningSolutionhas at most one field or property annotated withConstraintConfigurationProviderwith returns a type of theConstraintConfigurationannotated class.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringconstraintPackageThe namespace of the constraints.
-
-
-
Element Detail
-
constraintPackage
String constraintPackage
The namespace of the constraints.This is the default for every
ConstraintWeight.constraintPackage()in the annotated class.- Returns:
- defaults to the annotated class's package.
- Default:
- ""
-
-