Class ExpressionEvaluationHandler
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.impl.evaluation.ExpressionEvaluationHandler
-
public class ExpressionEvaluationHandler extends java.lang.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 java.lang.Object
evaluateElExpression(java.lang.String expressionLanguage, java.lang.String expressionText, VariableContext variableContext, CachedExpressionSupport cachedExpressionSupport)
java.lang.Object
evaluateExpression(java.lang.String expressionLanguage, DmnExpressionImpl expression, VariableContext variableContext)
protected java.lang.Object
evaluateFeelSimpleExpression(java.lang.String expressionText, VariableContext variableContext)
protected java.lang.Object
evaluateScriptExpression(java.lang.String expressionLanguage, VariableContext variableContext, java.lang.String expressionText, CachedCompiledScriptSupport cachedCompiledScriptSupport)
protected java.lang.String
getExpressionTextForLanguage(DmnExpressionImpl expression, java.lang.String expressionLanguage)
protected javax.script.ScriptEngine
getScriptEngineForName(java.lang.String expressionLanguage)
protected boolean
isElExpression(java.lang.String expressionLanguage)
boolean
isFeelExpressionLanguage(java.lang.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 java.lang.Object evaluateExpression(java.lang.String expressionLanguage, DmnExpressionImpl expression, VariableContext variableContext)
-
evaluateScriptExpression
protected java.lang.Object evaluateScriptExpression(java.lang.String expressionLanguage, VariableContext variableContext, java.lang.String expressionText, CachedCompiledScriptSupport cachedCompiledScriptSupport)
-
evaluateElExpression
protected java.lang.Object evaluateElExpression(java.lang.String expressionLanguage, java.lang.String expressionText, VariableContext variableContext, CachedExpressionSupport cachedExpressionSupport)
-
evaluateFeelSimpleExpression
protected java.lang.Object evaluateFeelSimpleExpression(java.lang.String expressionText, VariableContext variableContext)
-
getExpressionTextForLanguage
protected java.lang.String getExpressionTextForLanguage(DmnExpressionImpl expression, java.lang.String expressionLanguage)
-
getScriptEngineForName
protected javax.script.ScriptEngine getScriptEngineForName(java.lang.String expressionLanguage)
-
isElExpression
protected boolean isElExpression(java.lang.String expressionLanguage)
-
isFeelExpressionLanguage
public boolean isFeelExpressionLanguage(java.lang.String expressionLanguage)
-
-