Interface ExpressionFunctionManager

    • Method Detail

      • addFunction

        void addFunction​(java.lang.String name,
                         java.lang.String category,
                         Function f)
                  throws java.lang.IllegalArgumentException
        Adds the given function to the expression system.
        Throws:
        java.lang.IllegalArgumentException - if the provided function name already exists.
      • addFunction

        void addFunction​(java.lang.String name,
                         java.lang.String category,
                         Function f,
                         boolean visible)
                  throws java.lang.IllegalArgumentException
        Adds the given function, optionally making it invisible to the various configuration helpers. This is useful for supporting backwards compatibility of "legacy" expression functions.
        Throws:
        java.lang.IllegalArgumentException
      • isDefined

        boolean isDefined​(java.lang.String functionName)
        Returns whether the specified function has already been defined.