public class LambdaSalience extends DynamicAttributeEvaluator<Integer> implements org.drools.core.spi.Salience
supplier
Constructor and Description |
---|
LambdaSalience(org.drools.model.DynamicValueSupplier<Integer> supplier) |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
int |
getValue(org.drools.core.spi.KnowledgeHelper khelper,
org.kie.api.definition.rule.Rule rule,
org.drools.core.WorkingMemory workingMemory) |
boolean |
isDefault() |
boolean |
isDynamic() |
getDeclarations
public LambdaSalience(org.drools.model.DynamicValueSupplier<Integer> supplier)
public int getValue(org.drools.core.spi.KnowledgeHelper khelper, org.kie.api.definition.rule.Rule rule, org.drools.core.WorkingMemory workingMemory)
getValue
in interface org.drools.core.spi.Salience
public int getValue()
getValue
in interface org.drools.core.spi.Salience
public boolean isDynamic()
isDynamic
in interface org.drools.core.spi.Salience
public boolean isDefault()
isDefault
in interface org.drools.core.spi.Salience
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.