Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CMD_OPT_NAME_DEBUG_LONG
Deprecated.
|
static java.lang.String |
CMD_OPT_NAME_DEBUG_SHORT
Deprecated.
|
static java.lang.String |
CMD_OPT_NAME_HELP_LONG
Deprecated.
|
static java.lang.String |
CMD_OPT_NAME_HELP_SHORT
Deprecated.
|
static java.lang.String |
CMD_OPT_NAME_VERBOSE_LONG
Deprecated.
|
static java.lang.String |
CMD_OPT_NAME_VERBOSE_SHORT
Deprecated.
|
Constructor and Description |
---|
AbstractCommandLineTool(boolean useSystemExit)
Deprecated.
Create an abstract commandline tool.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addAdditionalOptions(org.apache.commons.cli.Options options)
Deprecated.
Add additional options.
|
protected org.apache.commons.cli.HelpFormatter |
getHelpFormatter()
Deprecated.
Format usage output.
|
protected abstract boolean |
performTask()
Deprecated.
Perform task.
|
protected abstract boolean |
readPropertiesFromCommandLine(org.apache.commons.cli.CommandLine commandLine)
Deprecated.
Read properties from command line.
|
void |
start(java.lang.String[] args)
Deprecated.
Start analysis.
|
public static final java.lang.String CMD_OPT_NAME_HELP_LONG
public static final java.lang.String CMD_OPT_NAME_HELP_SHORT
public static final java.lang.String CMD_OPT_NAME_VERBOSE_LONG
public static final java.lang.String CMD_OPT_NAME_VERBOSE_SHORT
public static final java.lang.String CMD_OPT_NAME_DEBUG_LONG
public static final java.lang.String CMD_OPT_NAME_DEBUG_SHORT
public AbstractCommandLineTool(boolean useSystemExit)
useSystemExit
- true to indicated exit can be usedpublic final void start(java.lang.String[] args)
args
- parametersprotected abstract void addAdditionalOptions(org.apache.commons.cli.Options options)
options
- optionsprotected abstract boolean readPropertiesFromCommandLine(org.apache.commons.cli.CommandLine commandLine)
commandLine
- command line handlerprotected abstract boolean performTask()
protected org.apache.commons.cli.HelpFormatter getHelpFormatter()
Copyright 2020 Kieker Project, http://kieker-monitoring.net