Class FailedReaderTask

java.lang.Object
org.cytoscape.work.AbstractTask
org.cy3sbml.reader.FailedReaderTask
All Implemented Interfaces:
org.cytoscape.io.read.CyNetworkReader, org.cytoscape.work.Task

public final class FailedReaderTask extends org.cytoscape.work.AbstractTask implements org.cytoscape.io.read.CyNetworkReader
The reader of an input that could not be read before the reader was created, e.g. a URL whose connection dropped: running it reports the error, as the reader of a broken file does. Cytoscape's reader manager takes the first task of the task iterator of a reader factory as the reader, so a factory cannot return no reader.
  • Field Summary

    Fields inherited from class org.cytoscape.work.AbstractTask

    cancelled
  • Constructor Summary

    Constructors
    Constructor
    Description
    FailedReaderTask(String inputName, Throwable cause)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.cytoscape.view.model.CyNetworkView
    buildCyNetworkView(org.cytoscape.model.CyNetwork network)
     
    org.cytoscape.model.CyNetwork[]
     
    void
    run(org.cytoscape.work.TaskMonitor taskMonitor)
     

    Methods inherited from class org.cytoscape.work.AbstractTask

    cancel, getTaskIterator, insertTasksAfterCurrentTask, insertTasksAfterCurrentTask, setTaskIterator

    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.Task

    cancel
  • Constructor Details

    • FailedReaderTask

      public FailedReaderTask(String inputName, Throwable cause)
  • Method Details

    • run

      public void run(org.cytoscape.work.TaskMonitor taskMonitor)
      Specified by:
      run in interface org.cytoscape.work.Task
      Specified by:
      run in class org.cytoscape.work.AbstractTask
    • getNetworks

      public org.cytoscape.model.CyNetwork[] getNetworks()
      Specified by:
      getNetworks in interface org.cytoscape.io.read.CyNetworkReader
    • buildCyNetworkView

      public org.cytoscape.view.model.CyNetworkView buildCyNetworkView(org.cytoscape.model.CyNetwork network)
      Specified by:
      buildCyNetworkView in interface org.cytoscape.io.read.CyNetworkReader