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 Details

  • Constructor Details

    • FeelElContextFactory

      public FeelElContextFactory()
  • Method Details

    • createContext

      public ELContext createContext(ExpressionFactory expressionFactory, VariableContext variableContext)
      Description copied from interface: ElContextFactory
      Create a ELContext for the given ExpressionFactory and VariableContext.
      Specified by:
      createContext in interface ElContextFactory
      Parameters:
      expressionFactory - the ExpressionFactory to use
      variableContext - the VariableContext to use
      Returns:
      the ELContext instance
    • createElResolver

      public ELResolver createElResolver()
    • createFunctionMapper

      public FunctionMapper createFunctionMapper()
    • createVariableMapper

      public VariableMapper createVariableMapper(ExpressionFactory expressionFactory, VariableContext variableContext)
    • addCustomFunction

      public void addCustomFunction(String name, Method method)
      Description copied from interface: ElContextFactory
      Add a custom function which can be used by the context.
      Specified by:
      addCustomFunction in interface ElContextFactory
      Parameters:
      name - the name of the function
      method - the method reference of the function