public class ExpressionEvaluationHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected ElProvider |
elProvider |
protected FeelEngine |
feelEngine |
protected static DmnEngineLogger |
LOG |
protected DmnScriptEngineResolver |
scriptEngineResolver |
Constructor and Description |
---|
ExpressionEvaluationHandler(DefaultDmnEngineConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected Object |
evaluateElExpression(String expressionLanguage,
String expressionText,
VariableContext variableContext,
CachedExpressionSupport cachedExpressionSupport) |
Object |
evaluateExpression(String expressionLanguage,
DmnExpressionImpl expression,
VariableContext variableContext) |
protected Object |
evaluateFeelSimpleExpression(String expressionText,
VariableContext variableContext) |
protected Object |
evaluateScriptExpression(String expressionLanguage,
VariableContext variableContext,
String expressionText,
CachedCompiledScriptSupport cachedCompiledScriptSupport) |
protected String |
getExpressionTextForLanguage(DmnExpressionImpl expression,
String expressionLanguage) |
protected ScriptEngine |
getScriptEngineForName(String expressionLanguage) |
protected boolean |
isElExpression(String expressionLanguage) |
boolean |
isFeelExpressionLanguage(String expressionLanguage) |
protected static final DmnEngineLogger LOG
protected final DmnScriptEngineResolver scriptEngineResolver
protected final ElProvider elProvider
protected final FeelEngine feelEngine
public ExpressionEvaluationHandler(DefaultDmnEngineConfiguration configuration)
public Object evaluateExpression(String expressionLanguage, DmnExpressionImpl expression, VariableContext variableContext)
protected Object evaluateScriptExpression(String expressionLanguage, VariableContext variableContext, String expressionText, CachedCompiledScriptSupport cachedCompiledScriptSupport)
protected Object evaluateElExpression(String expressionLanguage, String expressionText, VariableContext variableContext, CachedExpressionSupport cachedExpressionSupport)
protected Object evaluateFeelSimpleExpression(String expressionText, VariableContext variableContext)
protected String getExpressionTextForLanguage(DmnExpressionImpl expression, String expressionLanguage)
protected ScriptEngine getScriptEngineForName(String expressionLanguage)
protected boolean isElExpression(String expressionLanguage)
public boolean isFeelExpressionLanguage(String expressionLanguage)
Copyright © 2019. All rights reserved.