org.drools.base
Class SalienceInteger

java.lang.Object
  extended by org.drools.base.SalienceInteger
All Implemented Interfaces:
Externalizable, Serializable, Salience

public class SalienceInteger
extends Object
implements Salience, Externalizable

See Also:
Serialized Form

Field Summary
static Salience DEFAULT_SALIENCE
           
 
Constructor Summary
SalienceInteger()
           
SalienceInteger(int value)
           
 
Method Summary
 int getValue(KnowledgeHelper khelper, org.drools.definition.rule.Rule rule, WorkingMemory workingMemory)
           
 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
 

Field Detail

DEFAULT_SALIENCE

public static final Salience DEFAULT_SALIENCE
Constructor Detail

SalienceInteger

public SalienceInteger()

SalienceInteger

public SalienceInteger(int value)
Method Detail

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.drools.definition.rule.Rule rule,
                    WorkingMemory workingMemory)
Specified by:
getValue in interface Salience

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.