org.drools.base
Class SalienceInteger
java.lang.Object
org.drools.base.SalienceInteger
- All Implemented Interfaces:
- Externalizable, Serializable, Salience
public class SalienceInteger
- extends Object
- implements Salience, Externalizable
- See Also:
- Serialized Form
DEFAULT_SALIENCE
public static final Salience DEFAULT_SALIENCE
SalienceInteger
public SalienceInteger()
SalienceInteger
public SalienceInteger(int value)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
getValue
public int getValue(Tuple tuple,
org.drools.definition.rule.Rule rule,
WorkingMemory workingMemory)
- Specified by:
getValue
in interface Salience
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.