Class AbstractApplication

    • Constructor Detail

      • AbstractApplication

        public AbstractApplication()
    • Method Detail

      • getVersion

        public String getVersion()
      • getCopyrightLine

        public String getCopyrightLine()
      • getVersionString

        public String getVersionString()
      • printVersion

        public void printVersion()
      • getApplicationName

        public abstract String getApplicationName()
        Returns the name of this application
        the name of this application
      • getShellCommand

        public abstract String getShellCommand()
        Returns the name of the shell command
        the name of the shell command
      • printHelp

        public void printHelp​(String cmd)
      • getAppHelpFormatter

        protected org.apache.commons.cli2.util.HelpFormatter getAppHelpFormatter()
      • getApplicationCLGroup

        public org.apache.commons.cli2.Group getApplicationCLGroup()
      • addApplicationOptions

        public org.apache.commons.cli2.builder.GroupBuilder addApplicationOptions​(org.apache.commons.cli2.builder.GroupBuilder gbuilder)
      • init

        protected void init()
      • run

        protected void run​(String[] args)
      • setLogLevel

        public void setLogLevel​(String level)
      • close

        protected void close()
      • setProperty

        public void setProperty​(String key,
                                String value)
      • getConsole

        public abstract Console getConsole()