Class FeelEngineImpl
java.lang.Object
org.camunda.bpm.dmn.feel.impl.juel.FeelEngineImpl
- All Implemented Interfaces:
FeelEngine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ElContextFactoryprotected org.camunda.bpm.impl.juel.jakarta.el.ExpressionFactorystatic final FeelEngineLoggerprotected FeelToJuelTransformprotected Cache<TransformExpressionCacheKey,String> -
Constructor Summary
ConstructorsConstructorDescriptionFeelEngineImpl(FeelToJuelTransform transform, org.camunda.bpm.impl.juel.jakarta.el.ExpressionFactory expressionFactory, ElContextFactory elContextFactory, Cache<TransformExpressionCacheKey, String> transformExpressionCache) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.camunda.bpm.impl.juel.jakarta.el.ELContextcreateContext(VariableContext variableContext) <T> TevaluateSimpleExpression(String simpleExpression, VariableContext variableContext) Evaluate a FEEL simple expressionbooleanevaluateSimpleUnaryTests(String simpleUnaryTests, String inputName, VariableContext variableContext) Evaluate a FEEL simple unary tests expressionprotected org.camunda.bpm.impl.juel.jakarta.el.ValueExpressiontransformSimpleUnaryTests(String simpleUnaryTests, String inputName, org.camunda.bpm.impl.juel.jakarta.el.ELContext elContext) protected StringtransformToJuelExpression(String simpleUnaryTests, String inputName)
-
Field Details
-
LOG
-
transform
-
expressionFactory
protected org.camunda.bpm.impl.juel.jakarta.el.ExpressionFactory expressionFactory -
elContextFactory
-
transformExpressionCache
-
-
Constructor Details
-
FeelEngineImpl
public FeelEngineImpl(FeelToJuelTransform transform, org.camunda.bpm.impl.juel.jakarta.el.ExpressionFactory expressionFactory, ElContextFactory elContextFactory, Cache<TransformExpressionCacheKey, String> transformExpressionCache)
-
-
Method Details
-
evaluateSimpleExpression
Description copied from interface:FeelEngineEvaluate a FEEL simple expression- Specified by:
evaluateSimpleExpressionin interfaceFeelEngine- Type Parameters:
T- the expected return type- Parameters:
simpleExpression- the simple expression to evaluatevariableContext- the variable context which are available- Returns:
- the result of the simple expression
-
evaluateSimpleUnaryTests
public boolean evaluateSimpleUnaryTests(String simpleUnaryTests, String inputName, VariableContext variableContext) Description copied from interface:FeelEngineEvaluate a FEEL simple unary tests expression- Specified by:
evaluateSimpleUnaryTestsin interfaceFeelEngine- Parameters:
simpleUnaryTests- the simple unary tests expression to evaluateinputName- the name of the variable which is testedvariableContext- the variable context are available- Returns:
- the result of the simple unary tests expression
-
createContext
protected org.camunda.bpm.impl.juel.jakarta.el.ELContext createContext(VariableContext variableContext) -
transformSimpleUnaryTests
-
transformToJuelExpression
-