public interface Task extends MOAObject
Modifier and Type | Method and Description |
---|---|
Object |
doTask()
This method performs this task,
when TaskMonitor and ObjectRepository are no needed.
|
Object |
doTask(TaskMonitor monitor,
ObjectRepository repository)
This method performs this task.
|
Class<?> |
getTaskResultType()
Gets the result type of this task.
|
copy, getDescription, measureByteSize
Class<?> getTaskResultType()
Object doTask()
Object doTask(TaskMonitor monitor, ObjectRepository repository)
AbstractTask
implements this method so all
its extensions only need to implement doTaskImpl
monitor
- the TaskMonitor to userepository
- the ObjectRepository to useCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.