Class ScalaFeelEngine
- java.lang.Object
-
- org.camunda.bpm.dmn.feel.impl.scala.ScalaFeelEngine
-
- All Implemented Interfaces:
org.camunda.bpm.dmn.feel.impl.FeelEngine
public class ScalaFeelEngine extends Object implements org.camunda.bpm.dmn.feel.impl.FeelEngine
-
-
Field Summary
Fields Modifier and Type Field Description protected org.camunda.feel.FeelEnginefeelEngineprotected static StringINPUT_VARIABLE_NAMEprotected static ScalaFeelLoggerLOGGER
-
Constructor Summary
Constructors Constructor Description ScalaFeelEngine(List<FeelCustomFunctionProvider> functionProviders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.camunda.feel.FeelEnginebuildFeelEngine(CustomFunctionTransformer transformer, org.camunda.feel.valuemapper.ValueMapper.CompositeValueMapper valueMapper)<T> TevaluateSimpleExpression(String expression, org.camunda.bpm.engine.variable.context.VariableContext variableContext)booleanevaluateSimpleUnaryTests(String expression, String inputVariable, org.camunda.bpm.engine.variable.context.VariableContext variableContext)protected camundajar.impl.scala.collection.immutable.List<org.camunda.feel.valuemapper.CustomValueMapper>getValueMappers()protected <T> camundajar.impl.scala.collection.immutable.List<T>toList(List list)protected <T> camundajar.impl.scala.collection.immutable.List<T>toScalaList(T... elements)
-
-
-
Field Detail
-
INPUT_VARIABLE_NAME
protected static final String INPUT_VARIABLE_NAME
- See Also:
- Constant Field Values
-
LOGGER
protected static final ScalaFeelLogger LOGGER
-
feelEngine
protected org.camunda.feel.FeelEngine feelEngine
-
-
Constructor Detail
-
ScalaFeelEngine
public ScalaFeelEngine(List<FeelCustomFunctionProvider> functionProviders)
-
-
Method Detail
-
evaluateSimpleExpression
public <T> T evaluateSimpleExpression(String expression, org.camunda.bpm.engine.variable.context.VariableContext variableContext)
- Specified by:
evaluateSimpleExpressionin interfaceorg.camunda.bpm.dmn.feel.impl.FeelEngine
-
evaluateSimpleUnaryTests
public boolean evaluateSimpleUnaryTests(String expression, String inputVariable, org.camunda.bpm.engine.variable.context.VariableContext variableContext)
- Specified by:
evaluateSimpleUnaryTestsin interfaceorg.camunda.bpm.dmn.feel.impl.FeelEngine
-
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
protected <T> camundajar.impl.scala.collection.immutable.List<T> toList(List list)
-
buildFeelEngine
protected org.camunda.feel.FeelEngine buildFeelEngine(CustomFunctionTransformer transformer, org.camunda.feel.valuemapper.ValueMapper.CompositeValueMapper valueMapper)
-
-