Class FeelElContextFactory
java.lang.Object
org.camunda.bpm.dmn.feel.impl.juel.el.FeelElContextFactory
- All Implemented Interfaces:
ElContextFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCustomFunction
(String name, Method method) Add a custom function which can be used by the context.ELContext
createContext
(ExpressionFactory expressionFactory, VariableContext variableContext) ELResolver
FunctionMapper
VariableMapper
createVariableMapper
(ExpressionFactory expressionFactory, VariableContext variableContext)
-
Field Details
-
LOG
-
customFunctionMapper
-
-
Constructor Details
-
FeelElContextFactory
public FeelElContextFactory()
-
-
Method Details
-
createContext
public ELContext createContext(ExpressionFactory expressionFactory, VariableContext variableContext) Description copied from interface:ElContextFactory
- Specified by:
createContext
in interfaceElContextFactory
- Parameters:
expressionFactory
- theExpressionFactory
to usevariableContext
- theVariableContext
to use- Returns:
- the
ELContext
instance
-
createElResolver
public ELResolver createElResolver() -
createFunctionMapper
public FunctionMapper createFunctionMapper() -
createVariableMapper
public VariableMapper createVariableMapper(ExpressionFactory expressionFactory, VariableContext variableContext) -
addCustomFunction
Description copied from interface:ElContextFactory
Add a custom function which can be used by the context.- Specified by:
addCustomFunction
in interfaceElContextFactory
- Parameters:
name
- the name of the functionmethod
- the method reference of the function
-