|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bpiwowar.experiments.AbstractTask
public abstract class AbstractTask
An abstract task that takes care of parsing
Nested Class Summary | |
---|---|
static interface |
AbstractTask.Information
|
Constructor Summary | |
---|---|
AbstractTask()
|
Method Summary | |
---|---|
int |
execute()
Execute the task |
protected String |
getName()
Returns the name of the task |
Task |
getParent()
Get the parent task |
void |
init(String[] args)
Initialise the object before running it |
String[] |
processTrailingArguments(String[] args)
Process trailing arguments if we have some |
int |
run()
Run the experiments with the given arguments |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractTask()
Method Detail |
---|
public int execute() throws Throwable
Throwable
public Task getParent()
public String[] processTrailingArguments(String[] args) throws Exception
args
- The arguments
Exception
public final void init(String[] args) throws Exception
Task
init
in interface Task
Exception
public final int run() throws Throwable
Task
run
in interface Task
Throwable
protected String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |