Class ExpressionEvaluationHandler
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.impl.evaluation.ExpressionEvaluationHandler
-
public class ExpressionEvaluationHandler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ElProvider
elProvider
protected FeelEngine
feelEngine
protected static DmnEngineLogger
LOG
protected DmnScriptEngineResolver
scriptEngineResolver
-
Constructor Summary
Constructors Constructor Description ExpressionEvaluationHandler(DefaultDmnEngineConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
LOG
protected static final DmnEngineLogger LOG
-
scriptEngineResolver
protected final DmnScriptEngineResolver scriptEngineResolver
-
elProvider
protected final ElProvider elProvider
-
feelEngine
protected final FeelEngine feelEngine
-
-
Constructor Detail
-
ExpressionEvaluationHandler
public ExpressionEvaluationHandler(DefaultDmnEngineConfiguration configuration)
-
-
Method Detail
-
evaluateExpression
public Object evaluateExpression(String expressionLanguage, DmnExpressionImpl expression, VariableContext variableContext)
-
evaluateScriptExpression
protected Object evaluateScriptExpression(String expressionLanguage, VariableContext variableContext, String expressionText, CachedCompiledScriptSupport cachedCompiledScriptSupport)
-
evaluateElExpression
protected Object evaluateElExpression(String expressionLanguage, String expressionText, VariableContext variableContext, CachedExpressionSupport cachedExpressionSupport)
-
evaluateFeelSimpleExpression
protected Object evaluateFeelSimpleExpression(String expressionText, VariableContext variableContext)
-
getExpressionTextForLanguage
protected String getExpressionTextForLanguage(DmnExpressionImpl expression, String expressionLanguage)
-
getScriptEngineForName
protected ScriptEngine getScriptEngineForName(String expressionLanguage)
-
isElExpression
protected boolean isElExpression(String expressionLanguage)
-
isFeelExpressionLanguage
public boolean isFeelExpressionLanguage(String expressionLanguage)
-
-