public class MVELSalienceExpression extends Object implements Salience, MVELCompileable, Externalizable
DEFAULT_SALIENCE_VALUE| Constructor and Description |
|---|
MVELSalienceExpression() |
MVELSalienceExpression(MVELCompilationUnit unit,
String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
compile(MVELDialectRuntimeData runtimeData) |
void |
compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
MVELCompilationUnit |
getMVELCompilationUnit() |
int |
getValue() |
int |
getValue(KnowledgeHelper khelper,
org.kie.api.definition.rule.Rule rule,
WorkingMemory workingMemory) |
boolean |
isDefault() |
boolean |
isDynamic() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public MVELSalienceExpression()
public MVELSalienceExpression(MVELCompilationUnit unit, String id)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic MVELCompilationUnit getMVELCompilationUnit()
public void compile(MVELDialectRuntimeData runtimeData)
compile in interface MVELCompileablepublic void compile(MVELDialectRuntimeData runtimeData, RuleImpl rule)
compile in interface MVELCompileablepublic int getValue(KnowledgeHelper khelper, org.kie.api.definition.rule.Rule rule, WorkingMemory workingMemory)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.