Interface AbstractScoreHolder.ScoreMatchExecutor<Score_ extends AbstractScore<Score_>>

  • Type Parameters:
    Score_ - the Score type
    Enclosing class:
    AbstractScoreHolder<Score_ extends Score<Score_>>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    protected static interface AbstractScoreHolder.ScoreMatchExecutor<Score_ extends AbstractScore<Score_>>
    Unlike AbstractScoreHolder.IntMatchExecutor and its counterparts, this is not being used on CS-D code paths. Therefore it does not require justifications, as DRL will always infer them from the Drools working memory.
    • Method Detail

      • accept

        void accept​(org.kie.api.runtime.rule.RuleContext kcontext,
                    Score_ matchWeight)