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 SalienceDEFAULT_SALIENCE-
Fields inherited from interface org.drools.core.rule.accessor.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 intgetValue()intgetValue(Activation activation, org.kie.api.definition.rule.Rule rule, ReteEvaluator reteEvaluator)booleanisDefault()booleanisDynamic()voidreadExternal(ObjectInput in)StringtoString()voidwriteExternal(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.rule.accessor.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:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getValue
public int getValue(Activation activation, org.kie.api.definition.rule.Rule rule, ReteEvaluator reteEvaluator)
-
-