Class AbstractRootNetworkCollectionTaskFactory

java.lang.Object
org.cytoscape.task.AbstractRootNetworkCollectionTaskFactory
All Implemented Interfaces:
RootNetworkCollectionTaskFactory

public abstract class AbstractRootNetworkCollectionTaskFactory extends Object implements RootNetworkCollectionTaskFactory
A RootNetworkCollectionTaskFactory 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: core-task-api

To use this in your app, include the following dependency in your POM:

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>core-task-api</artifactId>
</dependency>
  • Constructor Details

    • AbstractRootNetworkCollectionTaskFactory

      public AbstractRootNetworkCollectionTaskFactory()
  • Method Details

    • isReady

      public boolean isReady(Collection<CyRootNetwork> networks)
      Returns true if the supplied collection of root-networks is not null or empty.
      Specified by:
      isReady in interface RootNetworkCollectionTaskFactory
      Parameters:
      networks - The collection of root-networks.
      Returns:
      true if the supplied collection is not null or empty.