public abstract class CommandLineArgumentMain extends Object
| Constructor and Description |
|---|
CommandLineArgumentMain() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
handleFailure(CommandLineArgumentParser parser) |
abstract void |
run() |
protected void |
runFailed(Exception e)
Handle exceptions thrown during run.
|
protected void |
setup()
Hook where initialization can be performed after the arguments have been parsed
|
protected void |
setupAndRun(String[] args) |
protected boolean |
setupFailed(Exception e)
Handle exceptions thrown during setup.
|
protected final void setupAndRun(String[] args)
protected boolean setupFailed(Exception e)
protected void runFailed(Exception e)
protected boolean handleFailure(CommandLineArgumentParser parser)
protected void setup()
throws Exception
ExceptionCopyright © 2012. All Rights Reserved.