Class ScoreDescriptor
- java.lang.Object
-
- org.optaplanner.core.impl.domain.score.descriptor.ScoreDescriptor
-
public class ScoreDescriptor extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScoreDescriptor
buildScoreDescriptor(DescriptorPolicy descriptorPolicy, Member member, Class<?> solutionClass)
void
failFastOnDuplicateMember(DescriptorPolicy descriptorPolicy, Member member, Class<?> solutionClass)
Score<?>
getScore(Object solution)
Class<? extends Score<?>>
getScoreClass()
ScoreDefinition<?>
getScoreDefinition()
void
setScore(Object solution, Score<?> score)
-
-
-
Method Detail
-
buildScoreDescriptor
public static ScoreDescriptor buildScoreDescriptor(DescriptorPolicy descriptorPolicy, Member member, Class<?> solutionClass)
-
getScoreDefinition
public ScoreDefinition<?> getScoreDefinition()
-
failFastOnDuplicateMember
public void failFastOnDuplicateMember(DescriptorPolicy descriptorPolicy, Member member, Class<?> solutionClass)
-
-