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
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(KnowledgeHelper khelper,
org.kie.api.definition.rule.Rule rule,
WorkingMemory workingMemory)
- Specified by:
getValue in interface Salience
getValue
public int getValue()
- Specified by:
getValue in interface Salience
toString
public String toString()
- Overrides:
toString in class Object
isDynamic
public boolean isDynamic()
- Specified by:
isDynamic in interface Salience
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.