Package org.optaplanner.constraint.drl
Class AbstractDrlScoreDirectorFactoryService<Solution_,Score_ extends Score<Score_>>
- java.lang.Object
-
- org.optaplanner.constraint.drl.AbstractDrlScoreDirectorFactoryService<Solution_,Score_>
-
- All Implemented Interfaces:
ScoreDirectorFactoryService<Solution_,Score_>
- Direct Known Subclasses:
DrlScoreDirectorFactoryService
,TestGenDrlScoreDirectorFactoryService
public abstract class AbstractDrlScoreDirectorFactoryService<Solution_,Score_ extends Score<Score_>> extends Object implements ScoreDirectorFactoryService<Solution_,Score_>
-
-
Field Summary
Fields Modifier and Type Field Description static String
GENERATE_DROOLS_TEST_ON_ERROR_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description AbstractDrlScoreDirectorFactoryService()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected DrlScoreDirectorFactory<Solution_,Score_>
buildScoreDirectorFactory(ClassLoader classLoader, SolutionDescriptor<Solution_> solutionDescriptor, ScoreDirectorFactoryConfig config, List<String> scoreDrlList)
protected abstract DrlScoreDirectorFactory<Solution_,Score_>
createScoreDirectorFactory(ScoreDirectorFactoryConfig config, SolutionDescriptor<Solution_> solutionDescriptor, org.kie.api.KieBase kieBase)
ScoreDirectorType
getSupportedScoreDirectorType()
protected boolean
isTestGenRequested()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.optaplanner.core.impl.score.director.ScoreDirectorFactoryService
buildScoreDirectorFactory
-
-
-
-
Field Detail
-
GENERATE_DROOLS_TEST_ON_ERROR_PROPERTY_NAME
public static final String GENERATE_DROOLS_TEST_ON_ERROR_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSupportedScoreDirectorType
public ScoreDirectorType getSupportedScoreDirectorType()
- Specified by:
getSupportedScoreDirectorType
in interfaceScoreDirectorFactoryService<Solution_,Score_ extends Score<Score_>>
- Returns:
- never null, the score director type that is implemented by the factory
-
isTestGenRequested
protected boolean isTestGenRequested()
-
createScoreDirectorFactory
protected abstract DrlScoreDirectorFactory<Solution_,Score_> createScoreDirectorFactory(ScoreDirectorFactoryConfig config, SolutionDescriptor<Solution_> solutionDescriptor, org.kie.api.KieBase kieBase)
-
buildScoreDirectorFactory
protected DrlScoreDirectorFactory<Solution_,Score_> buildScoreDirectorFactory(ClassLoader classLoader, SolutionDescriptor<Solution_> solutionDescriptor, ScoreDirectorFactoryConfig config, List<String> scoreDrlList)
-
-