org.drools.base.mvel
Class MVELSalienceExpression

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

public class MVELSalienceExpression
extends Object
implements Salience, MVELCompileable, Externalizable

See Also:
Serialized Form

Constructor Summary
MVELSalienceExpression()
           
MVELSalienceExpression(MVELCompilationUnit unit, String id)
           
 
Method Summary
 void compile(MVELDialectRuntimeData runtimeData)
           
 MVELCompilationUnit getMVELCompilationUnit()
           
 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
 

Constructor Detail

MVELSalienceExpression

public MVELSalienceExpression()

MVELSalienceExpression

public MVELSalienceExpression(MVELCompilationUnit unit,
                              String id)
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

getMVELCompilationUnit

public MVELCompilationUnit getMVELCompilationUnit()

compile

public void compile(MVELDialectRuntimeData runtimeData)
Specified by:
compile in interface MVELCompileable

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.