Class FeelEngineImpl
java.lang.Object
org.camunda.bpm.dmn.feel.impl.juel.FeelEngineImpl
- All Implemented Interfaces:
 FeelEngine
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ElContextFactoryprotected ExpressionFactorystatic final FeelEngineLoggerprotected FeelToJuelTransformprotected org.camunda.commons.utils.cache.Cache<TransformExpressionCacheKey,String>  - 
Constructor Summary
ConstructorsConstructorDescriptionFeelEngineImpl(FeelToJuelTransform transform, ExpressionFactory expressionFactory, ElContextFactory elContextFactory, org.camunda.commons.utils.cache.Cache<TransformExpressionCacheKey, String> transformExpressionCache)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected 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 ValueExpressiontransformSimpleUnaryTests(String simpleUnaryTests, String inputName, ELContext elContext) protected StringtransformToJuelExpression(String simpleUnaryTests, String inputName)  
- 
Field Details
- 
LOG
 - 
transform
 - 
expressionFactory
protected ExpressionFactory expressionFactory - 
elContextFactory
 - 
transformExpressionCache
protected org.camunda.commons.utils.cache.Cache<TransformExpressionCacheKey,String> transformExpressionCache 
 - 
 - 
Constructor Details
- 
FeelEngineImpl
public FeelEngineImpl(FeelToJuelTransform transform, ExpressionFactory expressionFactory, ElContextFactory elContextFactory, org.camunda.commons.utils.cache.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
 - 
transformSimpleUnaryTests
 - 
transformToJuelExpression
 
 -