public class CLIPrintDatabaseSchema extends AbstractLauncher
Constructor and Description |
---|
CLIPrintDatabaseSchema(IExitHandler exitHandler)
The constructor
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
The entry point to the application.
|
protected boolean |
processOptions(java.lang.String[] args,
org.apache.commons.cli.CommandLine cmd)
This is called to validate the tools CLI options.
|
protected boolean |
run()
This is executed to make the tool perform its function and should be extended.
|
getController, parseLongOption, processOptionsInternal, setConfig
addOption, checkSubCommand, displayHelp, doExit, fatal, fatal, getName, getOptions, getStderr, getStdout, handleBadSubCommandOption, info, init, launch, printOptions, printUsage, shouldDisplayHelp, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public CLIPrintDatabaseSchema(IExitHandler exitHandler)
exitHandler
- The exit handler, or null to use the default oneprotected boolean processOptions(java.lang.String[] args, org.apache.commons.cli.CommandLine cmd)
AbstractLauncher
AbstractLauncher
will already have been
validated sucesfully.processOptions
in class AbstractLauncher
cmd
- The command line optionsprotected boolean run()
BaseLauncher
run
in class BaseLauncher
public static void main(java.lang.String[] args)
args
- The arguments.