Class DriverSupport


  • public abstract class DriverSupport
    extends Object
    Author:
    Daniel Bernstein Date: Apr 23, 2014
    • Constructor Detail

      • DriverSupport

        public DriverSupport​(org.apache.commons.cli.Options options)
    • Method Detail

      • die

        public void die()
      • usage

        public void usage()
      • parseArgs

        public org.apache.commons.cli.CommandLine parseArgs​(String[] args)
      • execute

        public final void execute​(String[] args)
      • processConfigFileOption

        protected void processConfigFileOption​(org.apache.commons.cli.CommandLine cmd)
        Parameters:
        cmd -
      • executeImpl

        protected abstract void executeImpl​(org.apache.commons.cli.CommandLine cmd)
        Parameters:
        cmd -
      • setSystemProperty

        protected void setSystemProperty​(String name,
                                         String value)
      • setSystemProperty

        protected void setSystemProperty​(String name,
                                         String value,
                                         String defaultValue)