Class FunctionApplication

  • All Implemented Interfaces:
    io.micronaut.context.ApplicationContextProvider, java.io.Closeable, java.lang.AutoCloseable

    public class FunctionApplication
    extends StreamFunctionExecutor
    Allows executing functions from the CLI.
    Since:
    1.0
    • Field Detail

      • DATA_OPTION

        public static final java.lang.String DATA_OPTION
        The data option.
        See Also:
        Constant Field Values
      • DEBUG_OPTIONS

        public static final java.lang.String DEBUG_OPTIONS
        The debug option.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FunctionApplication

        public FunctionApplication()
    • Method Detail

      • main

        public static void main​(java.lang.String... args)
        The main method which is the entry point.
        Parameters:
        args - The arguments
      • run

        public static void run​(StreamFunctionExecutor functionExecutor,
                               java.lang.String... args)
        Run the given StreamFunctionExecutor for the given arguments.
        Parameters:
        functionExecutor - The function executor
        args - The arguments