Class AbstractNetworkCollectionTaskFactory

java.lang.Object
org.cytoscape.task.AbstractNetworkCollectionTaskFactory
All Implemented Interfaces:
NetworkCollectionTaskFactory

public abstract class AbstractNetworkCollectionTaskFactory extends Object implements NetworkCollectionTaskFactory
An NetworkCollectionTaskFactory 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

    • AbstractNetworkCollectionTaskFactory

      public AbstractNetworkCollectionTaskFactory()
  • Method Details

    • isReady

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