Package org.cytoscape.task
Interface RowTaskFactory
-
public interface RowTaskFactoryA task factory that creates one or more tasks that operate on the specified CyRow.Module:
core-task-apiTo use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>core-task-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskIteratorcreateTaskIterator(CyRow row)Provisions this factory with theCyRowthat will be passed into any task created by it.booleanisReady(CyRow row)Returns true if this task factory is ready to produce a TaskIterator.
-
-
-
Method Detail
-
createTaskIterator
TaskIterator createTaskIterator(CyRow row)
Provisions this factory with theCyRowthat will be passed into any task created by it.- Parameters:
row- a non-null CyRow- Returns:
- A TaskIterator object containing one or more
Taskobjects to execute.
-
isReady
boolean isReady(CyRow row)
Returns true if this task factory is ready to produce a TaskIterator.- Parameters:
row- a non-null CyRow- Returns:
- true if this task factory is ready to produce a TaskIterator.
-
-