org.optaplanner.core.impl.score.inliner

## Interface IntWeightedScoreImpacter

- 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 IntWeightedScoreImpacter
      extends WeightedScoreImpacter

- - ### Method Summary

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

- - ### Method Detail

    - #### impactScore

          UndoScoreImpacter impactScore(int matchWeight,
                                        Consumer<Score<?>> matchScoreConsumer)

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

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