T
- The type of the returned result of the taskpublic interface ITask<T>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
T |
execute()
Executes the task and returns a result
|
ITaskResultFormatter<T> |
getFormatter()
Get an instance of the matched ITaskResultFormatter for this task.
|
void |
setTaskViewAdapter(ILocalTaskViewAdapter viewAdapter)
Sets the adapter to the view properly for this object.
|
T execute() throws java.rmi.RemoteException
java.rmi.RemoteException
- thrown when a network error occurs.void setTaskViewAdapter(ILocalTaskViewAdapter viewAdapter)
viewAdapter
- an adapter to the view.ITaskResultFormatter<T> getFormatter()