org.drools.base.mvel
Class MVELSalienceExpression
java.lang.Object
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
MVELSalienceExpression
public MVELSalienceExpression()
MVELSalienceExpression
public MVELSalienceExpression(MVELCompilationUnit unit,
String id)
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.