public class MVELPredicateExpression extends Object implements PredicateExpression, MVELCompileable, Externalizable
| Constructor and Description |
|---|
MVELPredicateExpression() |
MVELPredicateExpression(MVELCompilationUnit unit,
String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
compile(MVELDialectRuntimeData runtimeData) |
void |
compile(MVELDialectRuntimeData runtimeData,
RuleImpl rule) |
Object |
createContext() |
boolean |
equals(Object obj) |
boolean |
evaluate(InternalFactHandle handle,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] requiredDeclarations,
WorkingMemory workingMemory,
Object context) |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public MVELPredicateExpression()
public MVELPredicateExpression(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 PredicateExpressionpublic boolean evaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context) throws Exception
evaluate in interface PredicateExpressionExceptionCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.