org.drools.core.base.mvel
Class MVELSalienceExpression
java.lang.Object
org.drools.core.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.kie.api.definition.rule.Rule rule,
WorkingMemory workingMemory)
- Specified by:
getValue in interface Salience
getValue
public int getValue()
- Specified by:
getValue in interface Salience
isDynamic
public boolean isDynamic()
- Specified by:
isDynamic in interface Salience
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.