public class CustomFunctionTransformer
extends org.camunda.feel.context.JavaFunctionProvider
Modifier and Type | Field and Description |
---|---|
protected Map<String,org.camunda.feel.context.JavaFunction> |
functions |
protected static ScalaFeelLogger |
LOGGER |
protected org.camunda.feel.valuemapper.ValueMapper |
valueMapper |
Constructor and Description |
---|
CustomFunctionTransformer(List<FeelCustomFunctionProvider> functionProviders,
org.camunda.feel.valuemapper.ValueMapper valueMapper) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getFunctionNames() |
Optional<org.camunda.feel.context.JavaFunction> |
resolveFunction(String functionName) |
protected org.camunda.feel.syntaxtree.Val |
toVal(Object rawResult) |
protected java.util.function.Function<List<org.camunda.feel.syntaxtree.Val>,org.camunda.feel.syntaxtree.Val> |
transformFunction(CustomFunction function) |
protected void |
transformFunctions(List<FeelCustomFunctionProvider> functionProviders) |
protected Object |
unpackVal(org.camunda.feel.syntaxtree.Val arg) |
protected List<Object> |
unpackVals(List<org.camunda.feel.syntaxtree.Val> args) |
functionNames, getFunction, getFunctions, getFunctions, resolveFunctions
protected static final ScalaFeelLogger LOGGER
protected org.camunda.feel.valuemapper.ValueMapper valueMapper
public CustomFunctionTransformer(List<FeelCustomFunctionProvider> functionProviders, org.camunda.feel.valuemapper.ValueMapper valueMapper)
protected void transformFunctions(List<FeelCustomFunctionProvider> functionProviders)
protected java.util.function.Function<List<org.camunda.feel.syntaxtree.Val>,org.camunda.feel.syntaxtree.Val> transformFunction(CustomFunction function)
protected org.camunda.feel.syntaxtree.Val toVal(Object rawResult)
protected Object unpackVal(org.camunda.feel.syntaxtree.Val arg)
public Optional<org.camunda.feel.context.JavaFunction> resolveFunction(String functionName)
resolveFunction
in class org.camunda.feel.context.JavaFunctionProvider
public Collection<String> getFunctionNames()
getFunctionNames
in class org.camunda.feel.context.JavaFunctionProvider
Copyright © 2022. All rights reserved.