public class SalienceInteger extends Object implements Salience, Externalizable
Modifier and Type | Field and Description |
---|---|
static Salience |
DEFAULT_SALIENCE |
DEFAULT_SALIENCE_VALUE
Constructor and Description |
---|
SalienceInteger() |
SalienceInteger(int value) |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
int |
getValue(KnowledgeHelper khelper,
org.kie.api.definition.rule.Rule rule,
WorkingMemory workingMemory) |
boolean |
isDefault() |
boolean |
isDynamic() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public static final Salience DEFAULT_SALIENCE
public SalienceInteger()
public SalienceInteger(int value)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public int getValue(KnowledgeHelper khelper, org.kie.api.definition.rule.Rule rule, WorkingMemory workingMemory)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.