Class FeelEngineImpl
- java.lang.Object
- 
- org.camunda.bpm.dmn.feel.impl.juel.FeelEngineImpl
 
- 
- All Implemented Interfaces:
- FeelEngine
 
 public class FeelEngineImpl extends java.lang.Object implements FeelEngine 
- 
- 
Field SummaryFields Modifier and Type Field Description protected ElContextFactoryelContextFactoryprotected javax.el.ExpressionFactoryexpressionFactorystatic FeelEngineLoggerLOGprotected FeelToJuelTransformtransformprotected org.camunda.commons.utils.cache.Cache<TransformExpressionCacheKey,java.lang.String>transformExpressionCache
 - 
Constructor SummaryConstructors Constructor Description FeelEngineImpl(FeelToJuelTransform transform, javax.el.ExpressionFactory expressionFactory, ElContextFactory elContextFactory, org.camunda.commons.utils.cache.Cache<TransformExpressionCacheKey,java.lang.String> transformExpressionCache)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.el.ELContextcreateContext(VariableContext variableContext)<T> TevaluateSimpleExpression(java.lang.String simpleExpression, VariableContext variableContext)Evaluate a FEEL simple expressionbooleanevaluateSimpleUnaryTests(java.lang.String simpleUnaryTests, java.lang.String inputName, VariableContext variableContext)Evaluate a FEEL simple unary tests expressionprotected javax.el.ValueExpressiontransformSimpleUnaryTests(java.lang.String simpleUnaryTests, java.lang.String inputName, javax.el.ELContext elContext)protected java.lang.StringtransformToJuelExpression(java.lang.String simpleUnaryTests, java.lang.String inputName)
 
- 
- 
- 
Field Detail- 
LOGpublic static final FeelEngineLogger LOG 
 - 
transformprotected FeelToJuelTransform transform 
 - 
expressionFactoryprotected javax.el.ExpressionFactory expressionFactory 
 - 
elContextFactoryprotected ElContextFactory elContextFactory 
 - 
transformExpressionCacheprotected org.camunda.commons.utils.cache.Cache<TransformExpressionCacheKey,java.lang.String> transformExpressionCache 
 
- 
 - 
Constructor Detail- 
FeelEngineImplpublic FeelEngineImpl(FeelToJuelTransform transform, javax.el.ExpressionFactory expressionFactory, ElContextFactory elContextFactory, org.camunda.commons.utils.cache.Cache<TransformExpressionCacheKey,java.lang.String> transformExpressionCache) 
 
- 
 - 
Method Detail- 
evaluateSimpleExpressionpublic <T> T evaluateSimpleExpression(java.lang.String simpleExpression, VariableContext variableContext)Description copied from interface:FeelEngineEvaluate a FEEL simple expression- Specified by:
- evaluateSimpleExpressionin interface- FeelEngine
- Type Parameters:
- T- the expected return type
- Parameters:
- simpleExpression- the simple expression to evaluate
- variableContext- the variable context which are available
- Returns:
- the result of the simple expression
 
 - 
evaluateSimpleUnaryTestspublic boolean evaluateSimpleUnaryTests(java.lang.String simpleUnaryTests, java.lang.String inputName, VariableContext variableContext)Description copied from interface:FeelEngineEvaluate a FEEL simple unary tests expression- Specified by:
- evaluateSimpleUnaryTestsin interface- FeelEngine
- Parameters:
- simpleUnaryTests- the simple unary tests expression to evaluate
- inputName- the name of the variable which is tested
- variableContext- the variable context are available
- Returns:
- the result of the simple unary tests expression
 
 - 
createContextprotected javax.el.ELContext createContext(VariableContext variableContext) 
 - 
transformSimpleUnaryTestsprotected javax.el.ValueExpression transformSimpleUnaryTests(java.lang.String simpleUnaryTests, java.lang.String inputName, javax.el.ELContext elContext)
 - 
transformToJuelExpressionprotected java.lang.String transformToJuelExpression(java.lang.String simpleUnaryTests, java.lang.String inputName)
 
- 
 
-