Class ScalaFeelEngine
java.lang.Object
org.camunda.bpm.dmn.feel.impl.scala.ScalaFeelEngine
- All Implemented Interfaces:
FeelEngine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.camunda.feel.FeelEngineprotected static final Stringprotected static final ScalaFeelLogger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.camunda.feel.FeelEnginebuildFeelEngine(CustomFunctionTransformer transformer, org.camunda.feel.valuemapper.ValueMapper.CompositeValueMapper valueMapper) <T> TevaluateSimpleExpression(String expression, VariableContext variableContext) Evaluate a FEEL simple expressionbooleanevaluateSimpleUnaryTests(String expression, String inputVariable, VariableContext variableContext) Evaluate a FEEL simple unary tests expressionprotected camundajar.impl.scala.collection.immutable.List<org.camunda.feel.valuemapper.CustomValueMapper>protected <T> camundajar.impl.scala.collection.immutable.List<T>protected final <T> camundajar.impl.scala.collection.immutable.List<T>toScalaList(T... elements)
-
Field Details
-
INPUT_VARIABLE_NAME
- See Also:
-
LOGGER
-
feelEngine
protected org.camunda.feel.FeelEngine feelEngine
-
-
Constructor Details
-
ScalaFeelEngine
-
-
Method Details
-
evaluateSimpleExpression
Description copied from interface:FeelEngineEvaluate a FEEL simple expression- Specified by:
evaluateSimpleExpressionin interfaceFeelEngine- Type Parameters:
T- the expected return type- Parameters:
expression- the simple expression to evaluatevariableContext- the variable context which are available- Returns:
- the result of the simple expression
-
evaluateSimpleUnaryTests
public boolean evaluateSimpleUnaryTests(String expression, String inputVariable, VariableContext variableContext) Description copied from interface:FeelEngineEvaluate a FEEL simple unary tests expression- Specified by:
evaluateSimpleUnaryTestsin interfaceFeelEngine- Parameters:
expression- the simple unary tests expression to evaluateinputVariable- the name of the variable which is testedvariableContext- the variable context are available- Returns:
- the result of the simple unary tests expression
-
getValueMappers
protected camundajar.impl.scala.collection.immutable.List<org.camunda.feel.valuemapper.CustomValueMapper> getValueMappers() -
toScalaList
@SafeVarargs protected final <T> camundajar.impl.scala.collection.immutable.List<T> toScalaList(T... elements) -
toList
-
buildFeelEngine
protected org.camunda.feel.FeelEngine buildFeelEngine(CustomFunctionTransformer transformer, org.camunda.feel.valuemapper.ValueMapper.CompositeValueMapper valueMapper)
-