public class MVELEvalExpression extends Object implements EvalExpression, MVELCompileable, Externalizable
| Constructor and Description |
|---|
MVELEvalExpression() |
MVELEvalExpression(MVELCompilationUnit unit,
String id) |
| Modifier and Type | Method and Description |
|---|---|
MVELEvalExpression |
clone() |
MVELEvalExpression |
clonePreservingDeclarations(MVELEvalExpression original) |
void |
compile(MVELDialectRuntimeData runtimeData) |
void |
compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
Object |
createContext() |
boolean |
equals(Object obj) |
boolean |
evaluate(Tuple tuple,
Declaration[] requiredDeclarations,
WorkingMemory workingMemory,
Object context) |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
replaceDeclaration(Declaration declaration,
Declaration resolved) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public MVELEvalExpression()
public MVELEvalExpression(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 void compile(MVELDialectRuntimeData runtimeData)
compile in interface MVELCompileablepublic void compile(MVELDialectRuntimeData runtimeData, RuleImpl rule)
compile in interface MVELCompileablepublic Object createContext()
createContext in interface EvalExpressionpublic boolean evaluate(Tuple tuple, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context) throws Exception
evaluate in interface EvalExpressionExceptionpublic void replaceDeclaration(Declaration declaration, Declaration resolved)
replaceDeclaration in interface EvalExpressionpublic MVELEvalExpression clone()
clone in interface EvalExpressionclone in class Objectpublic MVELEvalExpression clonePreservingDeclarations(MVELEvalExpression original)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.