public class TestGenLegacyDroolsScoreDirectorFactory<Solution_> extends LegacyDroolsScoreDirectorFactory<Solution_>
kieBasekieContainer, ksessionName, ruleToConstraintWeightExtractorMapassertClonedSolution, assertionScoreDirectorFactory, initializingScoreTrend, logger, solutionDescriptor| Constructor and Description |
|---|
TestGenLegacyDroolsScoreDirectorFactory(SolutionDescriptor<Solution_> solutionDescriptor,
org.kie.api.KieBase kieBase,
List<String> scoreDrlList,
List<File> scoreDrlFileList) |
| Modifier and Type | Method and Description |
|---|---|
DroolsScoreDirector<Solution_> |
buildScoreDirector(boolean lookUpEnabled,
boolean constraintMatchEnabledPreference)
Like
InnerScoreDirectorFactory.buildScoreDirector(), but optionally disables ConstraintMatch tracking and look up
for more performance (presuming the ScoreDirector implementation actually supports it to begin with). |
getKieBase, newKieSessioncheckIfGlobalScoreHolderExists, createRuleToConstraintWeightExtractorMap, getKieContainer, getKsessionName, getRuleToConstraintWeightExtractorMapassertScoreFromScratch, buildScoreDirector, getAssertionScoreDirectorFactory, getInitializingScoreTrend, getScoreDefinition, getSolutionDescriptor, isAssertClonedSolution, setAssertClonedSolution, setAssertionScoreDirectorFactory, setInitializingScoreTrendpublic DroolsScoreDirector<Solution_> buildScoreDirector(boolean lookUpEnabled, boolean constraintMatchEnabledPreference)
InnerScoreDirectorFactoryInnerScoreDirectorFactory.buildScoreDirector(), but optionally disables ConstraintMatch tracking and look up
for more performance (presuming the ScoreDirector implementation actually supports it to begin with).buildScoreDirector in interface InnerScoreDirectorFactory<Solution_>buildScoreDirector in class LegacyDroolsScoreDirectorFactory<Solution_>lookUpEnabled - true if a ScoreDirector implementation should track all working objects
for ScoreDirector.lookUpWorkingObject(Object)constraintMatchEnabledPreference - false if a ScoreDirector implementation
should not do ConstraintMatch tracking even if it supports it.ScoreDirector.isConstraintMatchEnabled(),
ScoreDirector.getConstraintMatchTotals()Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.