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() |
getDeclarationspublic 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.Saliencepublic int getValue()
getValue in interface org.drools.core.spi.Saliencepublic boolean isDynamic()
isDynamic in interface org.drools.core.spi.Saliencepublic boolean isDefault()
isDefault in interface org.drools.core.spi.SalienceCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.