Interface BiConstraintConsequence
-
- All Superinterfaces:
ConstraintConsequence<BiConstraintGraphNode>
public interface BiConstraintConsequence extends ConstraintConsequence<BiConstraintGraphNode>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConsequenceMatchWeightType
getMatchWeightType()
The numeric type of the match weight that score will be impacted with.-
Methods inherited from interface org.optaplanner.core.impl.score.stream.drools.common.consequences.ConstraintConsequence
getTerminalNode
-
-
-
-
Method Detail
-
getMatchWeightType
ConsequenceMatchWeightType getMatchWeightType()
The numeric type of the match weight that score will be impacted with. See Javadoc for extending interfaces for more.- Specified by:
getMatchWeightType
in interfaceConstraintConsequence<BiConstraintGraphNode>
- Returns:
- Null.
When this method returns
ConsequenceMatchWeightType.INTEGER
, implementations of this interface are guaranteed to implementToIntBiFunction
. When this method returnsConsequenceMatchWeightType.LONG
, implementations of this interface are guaranteed to implementToLongBiFunction
. When this method returnsConsequenceMatchWeightType.BIG_DECIMAL
, implementations of this interface are guaranteed to implementBiFunction
toBigDecimal
.
-
-