public class FeelElContextFactory extends Object implements ElContextFactory
| Modifier and Type | Field and Description |
|---|---|
protected CustomFunctionMapper |
customFunctionMapper |
static FeelEngineLogger |
LOG |
| Constructor and Description |
|---|
FeelElContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomFunction(String name,
Method method)
Add a custom function which can be used by the context.
|
javax.el.ELContext |
createContext(javax.el.ExpressionFactory expressionFactory,
VariableContext variableContext)
|
javax.el.ELResolver |
createElResolver() |
javax.el.FunctionMapper |
createFunctionMapper() |
javax.el.VariableMapper |
createVariableMapper(javax.el.ExpressionFactory expressionFactory,
VariableContext variableContext) |
public static final FeelEngineLogger LOG
protected CustomFunctionMapper customFunctionMapper
public javax.el.ELContext createContext(javax.el.ExpressionFactory expressionFactory,
VariableContext variableContext)
ElContextFactorycreateContext in interface ElContextFactoryexpressionFactory - the ExpressionFactory to usevariableContext - the VariableContext to useELContext instancepublic javax.el.ELResolver createElResolver()
public javax.el.FunctionMapper createFunctionMapper()
public javax.el.VariableMapper createVariableMapper(javax.el.ExpressionFactory expressionFactory,
VariableContext variableContext)
public void addCustomFunction(String name, Method method)
ElContextFactoryaddCustomFunction in interface ElContextFactoryname - the name of the functionmethod - the method reference of the functionCopyright © 2015–2021 camunda services GmbH. All rights reserved.