Package org.cytoscape.work
Class AbstractTaskFactory
java.lang.Object
org.cytoscape.work.AbstractTaskFactory
- All Implemented Interfaces:
TaskFactory
- Direct Known Subclasses:
AbstractNetworkSearchTaskFactory
A TaskFactory that is always ready to produce a TaskIterator.
Cytoscape Backwards Compatibility (Abstract Class): This class is abstract and meant to be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
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>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isReady()
Returns true if the TaskFactory has all necessary preconditions needed to generate a task that will execute properly, false otherwise.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cytoscape.work.TaskFactory
createTaskIterator, isOn
-
Constructor Details
-
AbstractTaskFactory
public AbstractTaskFactory()
-
-
Method Details
-
isReady
public boolean isReady()Description copied from interface:TaskFactory
Returns true if the TaskFactory has all necessary preconditions needed to generate a task that will execute properly, false otherwise.- Specified by:
isReady
in interfaceTaskFactory
- Returns:
- true if the TaskFactory has all necessary preconditions needed to generate a task that will execute properly, false otherwise.
-