public interface TaskFactory
TaskIterator. Intended to be provided and used as an OSGi service. A TaskFactory is a singleton, although each type of
Taskgets its own TaskFactory. For instance, a "load network from file" task will have one TaskFactory and an "apply preferred layout" task will have a different TaskFactory.
TaskIteratorwithout relying on any other mutable state within the TaskFactory.
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>work-api</artifactId> </dependency>
|Modifier and Type||Method and Description|
Returns an iterator containing a sequence of
Returns true if the TaskFactory has all necessary preconditions needed to generate a task that will execute properly, false otherwise.
Copyright 2011 Cytoscape Consortium. All rights reserved.