public interface CommandlineRunnable
Modifier and Type | Method and Description |
---|---|
void |
run(java.lang.Object toRun,
java.lang.String[] options)
Execute the supplied object.
|
void run(java.lang.Object toRun, java.lang.String[] options) throws java.lang.IllegalArgumentException
toRun
- the object to executeoptions
- any options to pass to the objectjava.lang.IllegalArgumentException
- if the object is not of the expected
type.