public abstract class DroolsAbstractConstraintStream<Solution_> extends AbstractConstraintStream<Solution_>
Modifier and Type | Field and Description |
---|---|
protected DroolsConstraintFactory<Solution_> |
constraintFactory |
Constructor and Description |
---|
DroolsAbstractConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory) |
Modifier and Type | Method and Description |
---|---|
protected DroolsConstraint<Solution_> |
buildConstraint(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
boolean positive) |
protected DroolsConstraint<Solution_> |
buildConstraintConfigurable(String constraintPackage,
String constraintName,
boolean positive) |
abstract void |
createRuleItemBuilders(List<<any>> ruleItemBuilderList,
<any> scoreHolderGlobal) |
DroolsConstraintFactory<Solution_> |
getConstraintFactory()
The
ConstraintFactory that build this. |
abstract List<DroolsFromUniConstraintStream<Solution_,Object>> |
getFromStreamList() |
buildConstraintWeightExtractor, buildConstraintWeightExtractor, impactScore, impactScoreConfigurable, penalize, penalizeConfigurable, reward, rewardConfigurable, validateConstraintId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
penalize, penalizeConfigurable, reward, rewardConfigurable
protected final DroolsConstraintFactory<Solution_> constraintFactory
public DroolsAbstractConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory)
protected DroolsConstraint<Solution_> buildConstraint(String constraintPackage, String constraintName, Score<?> constraintWeight, boolean positive)
protected DroolsConstraint<Solution_> buildConstraintConfigurable(String constraintPackage, String constraintName, boolean positive)
public abstract List<DroolsFromUniConstraintStream<Solution_,Object>> getFromStreamList()
public abstract void createRuleItemBuilders(List<<any>> ruleItemBuilderList, <any> scoreHolderGlobal)
public DroolsConstraintFactory<Solution_> getConstraintFactory()
ConstraintStream
ConstraintFactory
that build this.getConstraintFactory
in interface ConstraintStream
getConstraintFactory
in class AbstractConstraintStream<Solution_>
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.