Class ConstraintConfigurationDescriptor<Solution_>
java.lang.Object
org.optaplanner.core.impl.domain.constraintweight.descriptor.ConstraintConfigurationDescriptor<Solution_>
- Type Parameters:
Solution_
- the solution type, the class with thePlanningSolution
annotation
-
Constructor Summary
ConstructorsConstructorDescriptionConstraintConfigurationDescriptor
(SolutionDescriptor<Solution_> solutionDescriptor, Class<?> constraintConfigurationClass) -
Method Summary
Modifier and TypeMethodDescriptionfindConstraintWeightDescriptor
(String constraintPackage, String constraintName) Class<?>
getConstraintWeightDescriptor
(String propertyName) void
processAnnotations
(DescriptorPolicy descriptorPolicy, ScoreDefinition scoreDefinition) toString()
-
Constructor Details
-
ConstraintConfigurationDescriptor
public ConstraintConfigurationDescriptor(SolutionDescriptor<Solution_> solutionDescriptor, Class<?> constraintConfigurationClass)
-
-
Method Details
-
getConstraintPackage
-
getConstraintWeightDescriptors
-
getConstraintWeightDescriptor
-
processAnnotations
-
getSolutionDescriptor
-
getConstraintConfigurationClass
-
findConstraintWeightDescriptor
public ConstraintWeightDescriptor<Solution_> findConstraintWeightDescriptor(String constraintPackage, String constraintName) -
toString
-