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(Object toRun,
String[] options)
Execute the supplied object.
|
void preExecution()
throws Exception
Exception - if a problem occurs during setupvoid run(Object toRun, String[] options) throws Exception
toRun - the object to executeoptions - any options to pass to the objectException - if a problem occurs.Copyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.