Package org.camunda.bpm.dmn.feel.impl
Interface FeelEngine
-
- All Known Implementing Classes:
FeelEngineImpl
,ScalaFeelEngine
public interface FeelEngine
Engine to evaluate FEEL expressions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
evaluateSimpleExpression(java.lang.String simpleExpression, VariableContext variableContext)
Evaluate a FEEL simple expressionboolean
evaluateSimpleUnaryTests(java.lang.String simpleUnaryTests, java.lang.String inputName, VariableContext variableContext)
Evaluate a FEEL simple unary tests expression
-
-
-
Method Detail
-
evaluateSimpleExpression
<T> T evaluateSimpleExpression(java.lang.String simpleExpression, VariableContext variableContext)
Evaluate a FEEL simple expression- 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
- Throws:
FeelException
- if the expression cannot be evaluated
-
evaluateSimpleUnaryTests
boolean evaluateSimpleUnaryTests(java.lang.String simpleUnaryTests, java.lang.String inputName, VariableContext variableContext)
Evaluate a FEEL simple unary tests expression- 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
- Throws:
FeelException
- if the expression cannot be evaluated
-
-