Package org.drools.core.base
Class SalienceInteger
- java.lang.Object
-
- org.drools.core.base.SalienceInteger
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Salience
public class SalienceInteger extends Object implements Salience, Externalizable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Salience
DEFAULT_SALIENCE
-
Fields inherited from interface org.drools.core.spi.Salience
DEFAULT_SALIENCE_VALUE
-
-
Constructor Summary
Constructors Constructor Description SalienceInteger()
SalienceInteger(int value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.drools.core.spi.Salience
findDeclarations
-
-
-
-
Field Detail
-
DEFAULT_SALIENCE
public static final Salience DEFAULT_SALIENCE
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
getValue
public int getValue(KnowledgeHelper khelper, org.kie.api.definition.rule.Rule rule, WorkingMemory workingMemory)
-
-