org.optaplanner.core.impl.score.inliner

## Interface BigDecimalWeightedScoreImpacter

- All Superinterfaces:
    WeightedScoreImpacter
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface BigDecimalWeightedScoreImpacter
      extends WeightedScoreImpacter

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `UndoScoreImpacter` | `impactScore(BigDecimal matchWeight, Consumer<Score<?>> scoreConsumer)`

- - ### Method Detail

    - #### impactScore

          UndoScoreImpacter impactScore(BigDecimal matchWeight,
                                        Consumer<Score<?>> scoreConsumer)

      Parameters:
        `matchWeight` - never null
        `scoreConsumer` - null if `ScoreHolder.isConstraintMatchEnabled()` is false
      Returns:
        never null

Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.