Interface CyApplicationConfiguration

public interface CyApplicationConfiguration
Application-wide setting will be accessible through this interface.

Module: application-api

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


Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
  • Method Details

    • getInstallationDirectoryLocation

      File getInstallationDirectoryLocation()
      Returns absolute path to Cytoscape installation directory location.
      location of Cytoscape installation directory.
    • getConfigurationDirectoryLocation

      File getConfigurationDirectoryLocation()
      Returns absolute path to CytoscapeConfiguration location. By default, this is in the user's home directory.
      location of CytoscapeConfiguration directory. TODO: How can we set this location?
    • getAppConfigurationDirectoryLocation

      File getAppConfigurationDirectoryLocation(Class<?> appClass)
      Returns the absolute path to the configuration directory of a particular app. This path might not physically exist and may need to be created by the caller.
      appClass - Any class defined by the app's bundle
      the absolute path to the configuration directory of a particular app.