Record Class CommandServices

java.lang.Object
java.lang.Record
org.cy3sbml.commands.CommandServices
Record Components:
loadNetworkFile - the Cytoscape loader of network files, used by the import
loadNetworkURL - the Cytoscape loader of network URLs, used by the import
synchronousTaskManager - runs the loader tasks of the import

public record CommandServices(org.cytoscape.application.CyApplicationManager applicationManager, org.cytoscape.model.CyNetworkManager networkManager, org.cytoscape.view.model.CyNetworkViewManager networkViewManager, org.cytoscape.view.vizmap.VisualMappingManager visualMappingManager, org.cytoscape.task.read.LoadNetworkFileTaskFactory loadNetworkFile, org.cytoscape.task.read.LoadNetworkURLTaskFactory loadNetworkURL, org.cytoscape.work.SynchronousTaskManager<?> synchronousTaskManager, SBMLManager sbmlManager, CofactorManager cofactorManager, BiomodelsQuery biomodelsQuery, BiomodelLoader biomodelLoader, LayoutTools layoutTools) extends Record
The Cytoscape and cy3sbml services the automation commands use.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CommandServices(org.cytoscape.application.CyApplicationManager applicationManager, org.cytoscape.model.CyNetworkManager networkManager, org.cytoscape.view.model.CyNetworkViewManager networkViewManager, org.cytoscape.view.vizmap.VisualMappingManager visualMappingManager, org.cytoscape.task.read.LoadNetworkFileTaskFactory loadNetworkFile, org.cytoscape.task.read.LoadNetworkURLTaskFactory loadNetworkURL, org.cytoscape.work.SynchronousTaskManager<?> synchronousTaskManager, SBMLManager sbmlManager, CofactorManager cofactorManager, BiomodelsQuery biomodelsQuery, BiomodelLoader biomodelLoader, LayoutTools layoutTools)
    Creates an instance of a CommandServices record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.cytoscape.application.CyApplicationManager
    Returns the value of the applicationManager record component.
    Returns the value of the biomodelLoader record component.
    Returns the value of the biomodelsQuery record component.
    Returns the value of the cofactorManager record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the layoutTools record component.
    org.cytoscape.task.read.LoadNetworkFileTaskFactory
    Returns the value of the loadNetworkFile record component.
    org.cytoscape.task.read.LoadNetworkURLTaskFactory
    Returns the value of the loadNetworkURL record component.
    org.cytoscape.model.CyNetworkManager
    Returns the value of the networkManager record component.
    org.cytoscape.view.model.CyNetworkViewManager
    Returns the value of the networkViewManager record component.
    Returns the value of the sbmlManager record component.
    org.cytoscape.work.SynchronousTaskManager<?>
    Returns the value of the synchronousTaskManager record component.
    final String
    Returns a string representation of this record class.
    org.cytoscape.view.vizmap.VisualMappingManager
    Returns the value of the visualMappingManager record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CommandServices

      public CommandServices(org.cytoscape.application.CyApplicationManager applicationManager, org.cytoscape.model.CyNetworkManager networkManager, org.cytoscape.view.model.CyNetworkViewManager networkViewManager, org.cytoscape.view.vizmap.VisualMappingManager visualMappingManager, org.cytoscape.task.read.LoadNetworkFileTaskFactory loadNetworkFile, org.cytoscape.task.read.LoadNetworkURLTaskFactory loadNetworkURL, org.cytoscape.work.SynchronousTaskManager<?> synchronousTaskManager, SBMLManager sbmlManager, CofactorManager cofactorManager, BiomodelsQuery biomodelsQuery, BiomodelLoader biomodelLoader, LayoutTools layoutTools)
      Creates an instance of a CommandServices record class.
      Parameters:
      applicationManager - the value for the applicationManager record component
      networkManager - the value for the networkManager record component
      networkViewManager - the value for the networkViewManager record component
      visualMappingManager - the value for the visualMappingManager record component
      loadNetworkFile - the value for the loadNetworkFile record component
      loadNetworkURL - the value for the loadNetworkURL record component
      synchronousTaskManager - the value for the synchronousTaskManager record component
      sbmlManager - the value for the sbmlManager record component
      cofactorManager - the value for the cofactorManager record component
      biomodelsQuery - the value for the biomodelsQuery record component
      biomodelLoader - the value for the biomodelLoader record component
      layoutTools - the value for the layoutTools record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • applicationManager

      public org.cytoscape.application.CyApplicationManager applicationManager()
      Returns the value of the applicationManager record component.
      Returns:
      the value of the applicationManager record component
    • networkManager

      public org.cytoscape.model.CyNetworkManager networkManager()
      Returns the value of the networkManager record component.
      Returns:
      the value of the networkManager record component
    • networkViewManager

      public org.cytoscape.view.model.CyNetworkViewManager networkViewManager()
      Returns the value of the networkViewManager record component.
      Returns:
      the value of the networkViewManager record component
    • visualMappingManager

      public org.cytoscape.view.vizmap.VisualMappingManager visualMappingManager()
      Returns the value of the visualMappingManager record component.
      Returns:
      the value of the visualMappingManager record component
    • loadNetworkFile

      public org.cytoscape.task.read.LoadNetworkFileTaskFactory loadNetworkFile()
      Returns the value of the loadNetworkFile record component.
      Returns:
      the value of the loadNetworkFile record component
    • loadNetworkURL

      public org.cytoscape.task.read.LoadNetworkURLTaskFactory loadNetworkURL()
      Returns the value of the loadNetworkURL record component.
      Returns:
      the value of the loadNetworkURL record component
    • synchronousTaskManager

      public org.cytoscape.work.SynchronousTaskManager<?> synchronousTaskManager()
      Returns the value of the synchronousTaskManager record component.
      Returns:
      the value of the synchronousTaskManager record component
    • sbmlManager

      public SBMLManager sbmlManager()
      Returns the value of the sbmlManager record component.
      Returns:
      the value of the sbmlManager record component
    • cofactorManager

      public CofactorManager cofactorManager()
      Returns the value of the cofactorManager record component.
      Returns:
      the value of the cofactorManager record component
    • biomodelsQuery

      public BiomodelsQuery biomodelsQuery()
      Returns the value of the biomodelsQuery record component.
      Returns:
      the value of the biomodelsQuery record component
    • biomodelLoader

      public BiomodelLoader biomodelLoader()
      Returns the value of the biomodelLoader record component.
      Returns:
      the value of the biomodelLoader record component
    • layoutTools

      public LayoutTools layoutTools()
      Returns the value of the layoutTools record component.
      Returns:
      the value of the layoutTools record component