public class HardSoftBigDecimalScoreInliner extends ScoreInliner<HardSoftBigDecimalScore>
Modifier and Type | Field and Description |
---|---|
protected BigDecimal |
hardScore |
protected BigDecimal |
softScore |
constraintMatchEnabled
Modifier | Constructor and Description |
---|---|
protected |
HardSoftBigDecimalScoreInliner(boolean constraintMatchEnabled) |
Modifier and Type | Method and Description |
---|---|
BigDecimalWeightedScoreImpacter |
buildWeightedScoreImpacter(HardSoftBigDecimalScore constraintWeight) |
HardSoftBigDecimalScore |
extractScore(int initScore) |
String |
toString() |
protected BigDecimal hardScore
protected BigDecimal softScore
protected HardSoftBigDecimalScoreInliner(boolean constraintMatchEnabled)
public BigDecimalWeightedScoreImpacter buildWeightedScoreImpacter(HardSoftBigDecimalScore constraintWeight)
buildWeightedScoreImpacter
in class ScoreInliner<HardSoftBigDecimalScore>
public HardSoftBigDecimalScore extractScore(int initScore)
extractScore
in class ScoreInliner<HardSoftBigDecimalScore>
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.