|
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 value this Task produces.public interface ObservableTask
A Task that notifies its observers when it is finished
executing.
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 | ||
|---|---|---|
|
getResults(Class<? extends R> type)
Return the results from this task (if any) |
|
| Methods inherited from interface org.cytoscape.work.Task |
|---|
cancel, run |
| Method Detail |
|---|
<R> R getResults(Class<? extends R> type)
type - the class type of the returned results. This
is primarily used to request that the Task format the return
as a String, but other types are possible also. All ObservableTasks
should be able to handle String requests.
|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||