Interface ArgumentHandler

  • All Known Implementing Classes:
    URLArgumentHandler

    public interface ArgumentHandler
    Interface specifying the requirements for objects wiching to be able to examine arguments (potentially tweaking parameters) at the time of parsing, thereby allowing for usage display to occur automatically.
    • Method Detail

      • handleArgument

        void handleArgument​(Argument arg,
                            java.lang.String form,
                            java.lang.String[] params)
                     throws UsageException
        Process the argument values specified.
        Parameters:
        arg - argument definition
        form - form which was used on the command line
        params - parameters supplied to the argument
        Throws:
        UsageException - when usage was suboptimal