public class MvelConditionEvaluator extends Object implements ConditionEvaluator, MapConditionEvaluator
Modifier and Type | Field and Description |
---|---|
protected MVELCompilationUnit |
compilationUnit |
protected Declaration[] |
declarations |
protected org.mvel2.compiler.ExecutableStatement |
executableStatement |
Constructor and Description |
---|
MvelConditionEvaluator(MVELCompilationUnit compilationUnit,
org.mvel2.ParserConfiguration parserConfiguration,
org.mvel2.compiler.ExecutableStatement executableStatement,
Declaration[] declarations,
String conditionClass) |
MvelConditionEvaluator(org.mvel2.ParserConfiguration configuration,
String expression,
Declaration[] declarations,
String conditionClass) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(org.mvel2.compiler.ExecutableStatement statement,
InternalFactHandle handle,
InternalWorkingMemory workingMemory,
LeftTuple leftTuple) |
boolean |
evaluate(InternalFactHandle handle,
InternalWorkingMemory workingMemory,
LeftTuple leftTuple) |
boolean |
evaluate(InternalFactHandle handle,
Map<String,Object> vars) |
protected final Declaration[] declarations
protected org.mvel2.compiler.ExecutableStatement executableStatement
protected MVELCompilationUnit compilationUnit
public MvelConditionEvaluator(org.mvel2.ParserConfiguration configuration, String expression, Declaration[] declarations, String conditionClass)
public MvelConditionEvaluator(MVELCompilationUnit compilationUnit, org.mvel2.ParserConfiguration parserConfiguration, org.mvel2.compiler.ExecutableStatement executableStatement, Declaration[] declarations, String conditionClass)
public boolean evaluate(InternalFactHandle handle, Map<String,Object> vars)
evaluate
in interface MapConditionEvaluator
public boolean evaluate(InternalFactHandle handle, InternalWorkingMemory workingMemory, LeftTuple leftTuple)
evaluate
in interface ConditionEvaluator
public boolean evaluate(org.mvel2.compiler.ExecutableStatement statement, InternalFactHandle handle, InternalWorkingMemory workingMemory, LeftTuple leftTuple)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.