org.optaplanner.core.impl.score.inliner

## Interface LongWeightedScoreImpacter

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

- - ### Method Summary

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

- - ### Method Detail

    - #### impactScore

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

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

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