Class FeelElContextFactory
- java.lang.Object
-
- org.camunda.bpm.dmn.feel.impl.juel.el.FeelElContextFactory
-
- All Implemented Interfaces:
ElContextFactory
public class FeelElContextFactory extends Object implements ElContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected CustomFunctionMappercustomFunctionMapperstatic FeelEngineLoggerLOG
-
Constructor Summary
Constructors Constructor Description FeelElContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCustomFunction(String name, Method method)Add a custom function which can be used by the context.javax.el.ELContextcreateContext(javax.el.ExpressionFactory expressionFactory, VariableContext variableContext)javax.el.ELResolvercreateElResolver()javax.el.FunctionMappercreateFunctionMapper()javax.el.VariableMappercreateVariableMapper(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:
createContextin interfaceElContextFactory- Parameters:
expressionFactory- theExpressionFactoryto usevariableContext- theVariableContextto use- Returns:
- the
ELContextinstance
-
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(String name, Method method)
Description copied from interface:ElContextFactoryAdd a custom function which can be used by the context.- Specified by:
addCustomFunctionin interfaceElContextFactory- Parameters:
name- the name of the functionmethod- the method reference of the function
-
-