public class MvelConditionEvaluator extends Object implements ConditionEvaluator
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,
EvaluatorWrapper[] operators,
String conditionClass) |
MvelConditionEvaluator(org.mvel2.ParserConfiguration configuration,
String expression,
Declaration[] declarations,
EvaluatorWrapper[] operators,
String conditionClass) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(org.mvel2.compiler.ExecutableStatement statement,
InternalFactHandle handle,
InternalWorkingMemory workingMemory,
Tuple tuple) |
boolean |
evaluate(InternalFactHandle handle,
InternalWorkingMemory workingMemory,
Tuple tuple) |
protected final Declaration[] declarations
protected org.mvel2.compiler.ExecutableStatement executableStatement
protected MVELCompilationUnit compilationUnit
public MvelConditionEvaluator(org.mvel2.ParserConfiguration configuration, String expression, Declaration[] declarations, EvaluatorWrapper[] operators, String conditionClass)
public MvelConditionEvaluator(MVELCompilationUnit compilationUnit, org.mvel2.ParserConfiguration parserConfiguration, org.mvel2.compiler.ExecutableStatement executableStatement, Declaration[] declarations, EvaluatorWrapper[] operators, String conditionClass)
public boolean evaluate(InternalFactHandle handle, InternalWorkingMemory workingMemory, Tuple tuple)
evaluate
in interface ConditionEvaluator
public boolean evaluate(org.mvel2.compiler.ExecutableStatement statement, InternalFactHandle handle, InternalWorkingMemory workingMemory, Tuple tuple)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.