Class AbstractCustomCommandLine

    • Field Detail

      • zookeeperNamespaceOption

        protected final org.apache.commons.cli.Option zookeeperNamespaceOption
    • Constructor Detail

      • AbstractCustomCommandLine

        public AbstractCustomCommandLine()
    • Method Detail

      • addRunOptions

        public void addRunOptions​(org.apache.commons.cli.Options baseOptions)
        Description copied from interface: CustomCommandLine
        Adds custom options to the existing run options.
        Specified by:
        addRunOptions in interface CustomCommandLine
        Parameters:
        baseOptions - The existing options.
      • addGeneralOptions

        public void addGeneralOptions​(org.apache.commons.cli.Options baseOptions)
        Description copied from interface: CustomCommandLine
        Adds custom options to the existing general options.
        Specified by:
        addGeneralOptions in interface CustomCommandLine
        Parameters:
        baseOptions - The existing options.
      • printUsage

        protected void printUsage()
      • handleCliArgsException

        public static int handleCliArgsException​(CliArgsException e,
                                                 org.slf4j.Logger logger)
      • handleError

        public static int handleError​(Throwable t,
                                      org.slf4j.Logger logger)