Class CustomFunctionTransformer
java.lang.Object
org.camunda.feel.context.JavaFunctionProvider
org.camunda.bpm.dmn.feel.impl.scala.function.CustomFunctionTransformer
- All Implemented Interfaces:
org.camunda.feel.context.CustomFunctionProvider
,org.camunda.feel.context.FunctionProvider
public class CustomFunctionTransformer
extends org.camunda.feel.context.JavaFunctionProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.camunda.feel.context.FunctionProvider
org.camunda.feel.context.FunctionProvider.CacheFunctionProvider, org.camunda.feel.context.FunctionProvider.CacheFunctionProvider$, org.camunda.feel.context.FunctionProvider.CompositeFunctionProvider, org.camunda.feel.context.FunctionProvider.CompositeFunctionProvider$, org.camunda.feel.context.FunctionProvider.EmptyFunctionProvider$, org.camunda.feel.context.FunctionProvider.StaticFunctionProvider, org.camunda.feel.context.FunctionProvider.StaticFunctionProvider$
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final ScalaFeelLogger
protected org.camunda.feel.valuemapper.ValueMapper
-
Constructor Summary
ConstructorDescriptionCustomFunctionTransformer
(List<FeelCustomFunctionProvider> functionProviders, org.camunda.feel.valuemapper.ValueMapper valueMapper) -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.camunda.feel.context.JavaFunction>
resolveFunction
(String functionName) protected org.camunda.feel.syntaxtree.Val
transformFunction
(CustomFunction function) protected void
transformFunctions
(List<FeelCustomFunctionProvider> functionProviders) protected Object
unpackVal
(org.camunda.feel.syntaxtree.Val arg) unpackVals
(List<org.camunda.feel.syntaxtree.Val> args) Methods inherited from class org.camunda.feel.context.JavaFunctionProvider
functionNames, getFunction, getFunctions, getFunctions, resolveFunctions
-
Field Details
-
LOGGER
-
functions
-
valueMapper
protected org.camunda.feel.valuemapper.ValueMapper valueMapper
-
-
Constructor Details
-
CustomFunctionTransformer
public CustomFunctionTransformer(List<FeelCustomFunctionProvider> functionProviders, org.camunda.feel.valuemapper.ValueMapper valueMapper)
-
-
Method Details
-
transformFunctions
-
transformFunction
protected Function<List<org.camunda.feel.syntaxtree.Val>,org.camunda.feel.syntaxtree.Val> transformFunction(CustomFunction function) -
unpackVals
-
toVal
-
unpackVal
-
resolveFunction
- Specified by:
resolveFunction
in classorg.camunda.feel.context.JavaFunctionProvider
-
getFunctionNames
- Specified by:
getFunctionNames
in classorg.camunda.feel.context.JavaFunctionProvider
-