Class FeelElContextFactory
- java.lang.Object
-
- org.camunda.bpm.dmn.feel.impl.juel.el.FeelElContextFactory
-
- All Implemented Interfaces:
ElContextFactory
public class FeelElContextFactory extends java.lang.Object implements ElContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected CustomFunctionMapper
customFunctionMapper
static FeelEngineLogger
LOG
-
Constructor Summary
Constructors Constructor Description FeelElContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCustomFunction(java.lang.String name, java.lang.reflect.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)
-
-
-
Field Detail
-
LOG
public static final FeelEngineLogger LOG
-
customFunctionMapper
protected CustomFunctionMapper customFunctionMapper
-
-
Method Detail
-
createContext
public javax.el.ELContext createContext(javax.el.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 javax.el.ELResolver createElResolver()
-
createFunctionMapper
public javax.el.FunctionMapper createFunctionMapper()
-
createVariableMapper
public javax.el.VariableMapper createVariableMapper(javax.el.ExpressionFactory expressionFactory, VariableContext variableContext)
-
addCustomFunction
public void addCustomFunction(java.lang.String name, java.lang.reflect.Method method)
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
-
-