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,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
Create a
ELContext for the given ExpressionFactory and VariableContext. |
javax.el.ELResolver |
createElResolver() |
javax.el.FunctionMapper |
createFunctionMapper() |
javax.el.VariableMapper |
createVariableMapper(javax.el.ExpressionFactory expressionFactory,
org.camunda.bpm.engine.variable.context.VariableContext variableContext) |
public static final FeelEngineLogger LOG
protected CustomFunctionMapper customFunctionMapper
public javax.el.ELContext createContext(javax.el.ExpressionFactory expressionFactory,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
ElContextFactoryELContext for the given ExpressionFactory and VariableContext.createContext 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,
org.camunda.bpm.engine.variable.context.VariableContext variableContext)
public void addCustomFunction(String name, Method method)
ElContextFactoryaddCustomFunction in interface ElContextFactoryname - the name of the functionmethod - the method reference of the functionCopyright © 2018 Camunda Services GmbH. All rights reserved.