public interface CommandlineRunnable
| Modifier and Type | Method and Description |
|---|---|
void |
postExecution()
Perform any teardown stuff that might need to happen after execution.
|
void |
preExecution()
Perform any setup stuff that might need to happen before execution.
|
void |
run(java.lang.Object toRun,
java.lang.String[] options)
Execute the supplied object.
|
void preExecution()
throws java.lang.Exception
java.lang.Exception - if a problem occurs during setupvoid run(java.lang.Object toRun,
java.lang.String[] options)
throws java.lang.Exception
toRun - the object to executeoptions - any options to pass to the objectjava.lang.Exception - if a problem occurs.void postExecution()
throws java.lang.Exception
java.lang.Exception - if a problem occurs during teardown