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
Modifier and TypeMethodDescription<T> TevaluateSimpleExpression(String simpleExpression, VariableContext variableContext) Evaluate a FEEL simple expressionbooleanevaluateSimpleUnaryTests(String simpleUnaryTests, String inputName, VariableContext variableContext) Evaluate a FEEL simple unary tests expression
-
Method Details
-
evaluateSimpleExpression
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(String simpleUnaryTests, 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
-