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 Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void compile(MVELDialectRuntimeData runtimeData)
compile
in interface MVELCompileable
public void compile(MVELDialectRuntimeData runtimeData, RuleImpl rule)
compile
in interface MVELCompileable
public Object createContext()
createContext
in interface PredicateExpression
public boolean evaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context) throws Exception
evaluate
in interface PredicateExpression
Exception
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.