|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
R
- The type of the result this observer is expected to receive.public interface TaskObserver
An observer that gets notified when an ObservableTask
finishes
executing. If the task finishes, taskFinished()
is
called with whatever result the task produces, if any. When a task iterator finishes,
the task manager will invoke allFinished
with the appropriate FinishStatus
object depending on the scenario in which the task iterator finished.
Module: work-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>work-api</artifactId> </dependency>
Method Summary | |
---|---|
void |
allFinished(FinishStatus finishStatus)
Called by a TaskManager to tell us that the task iterator has completed. |
void |
taskFinished(ObservableTask task)
Called by an ObservableTask when it is finished executing. |
Method Detail |
---|
void taskFinished(ObservableTask task)
ObservableTask
when it is finished executing.
task
- The task being observedvoid allFinished(FinishStatus finishStatus)
TaskManager
to tell us that the task iterator has completed.
finishStatus
- Indicates how the task iterator completed.
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |