public abstract class Action extends Object
Constructor and Description |
---|
Action() |
Modifier and Type | Method and Description |
---|---|
protected void |
help(org.apache.commons.cli.Options options,
int code)
Prints the help for the action and exit
|
protected abstract void |
processCommand(String[] args)
Process the command line arguments
|
abstract int |
run()
Runs the action
|
protected void help(org.apache.commons.cli.Options options, int code)
options
- the options objectcode
- the exit codeprotected abstract void processCommand(String[] args)
args
- the command line argumentspublic abstract int run()
This documentation was released into the public domain.