Interface ExpressionManager

  • All Known Implementing Classes:
    JuelExpressionManager, MockExpressionManager

    public interface ExpressionManager

    Central manager for all expressions.

    Process parsers will use this to build expression objects that are stored in the process definitions.

    Then also this class is used as an entry point for runtime evaluation of the expressions.

    • Method Detail

      • createExpression

        Expression createExpression​(String expression)
        Parameters:
        expression -
        Returns:
        a parsed expression
      • addFunction

        void addFunction​(String name,
                         Method function)

        Adds a custom function to the expression manager that can be used in expression evaluation later on. Ideally, use this in the setup phase of the expression manager, i.e. before the first invocation of createExpression.

        Parameters:
        name -
        function -