Interface FEELFunction

    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name of the function
        Returns:
      • getSymbol

        Symbol getSymbol()
        Returns the Symbol of the function
        Returns:
      • getParameters

        java.util.List<java.util.List<FEELFunction.Param>> getParameters()
        Returns the parameter for each supported signature.
        Returns:
        a List of Lists of Strings with the parameters. For a function with multiple signatures, each element of the list returns the parameters of one signature. E.g.: the substring function has 2 supported signatures: substring( string, start position ) substring( string, start position, length ) So this method will return: { { "string", "start position" }, { "string", "start position", "length" } }
      • invokeReflectively

        java.lang.Object invokeReflectively​(EvaluationContext ctx,
                                            java.lang.Object[] params)
        Invokes the function reflectively based on the parameters
        Parameters:
        ctx -
        params -
        Returns: