Interface ParserResultFactory<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T createResult​(org.apache.commons.cli.CommandLine commandLine)
      Create the result of the command line argument parsing.
      org.apache.commons.cli.Options getOptions()
      Returns all relevant Options for parsing the command line arguments.
    • Method Detail

      • getOptions

        org.apache.commons.cli.Options getOptions()
        Returns all relevant Options for parsing the command line arguments.
        Returns:
        Options to use for the parsing
      • createResult

        T createResult​(@Nonnull
                       org.apache.commons.cli.CommandLine commandLine)
                throws FlinkParseException
        Create the result of the command line argument parsing.
        Parameters:
        commandLine - to extract the options from
        Returns:
        Result of the parsing
        Throws:
        FlinkParseException - Thrown on failures while parsing command line arguments