public class CustomFunctionTransformer
extends org.camunda.feel.context.JavaFunctionProvider
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$| 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, resolveFunctionsprotected 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.JavaFunctionProviderpublic Collection<String> getFunctionNames()
getFunctionNames in class org.camunda.feel.context.JavaFunctionProviderCopyright © 2015–2020 camunda services GmbH. All rights reserved.