Class AbstractNetworkTask

java.lang.Object
org.cytoscape.work.AbstractTask
org.cytoscape.task.AbstractNetworkTask
All Implemented Interfaces:
Task

public abstract class AbstractNetworkTask extends AbstractTask
Base class for all tasks that need to operate on a CyNetwork.

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>
  • Field Details

    • network

      protected final CyNetwork network
      The network that descendants of this class will operate on.
  • Constructor Details

    • AbstractNetworkTask

      public AbstractNetworkTask(CyNetwork network)
      Base class for tasks that need to operate on a CyNetwork
      Parameters:
      network - the CyNetwork the tasks need to operate on. Must be a non-null CyNetwork.