Interface ModuleFileTransactions.Catalogue

All Known Implementing Classes:
PluginInstallUtils.StagingCatalogue
Enclosing class:
ModuleFileTransactions

public static interface ModuleFileTransactions.Catalogue
Where the latest version of a module, and its download, come from.
  • Method Summary

    Modifier and Type
    Method
    Description
    downloadLink(String identifyString, String version)
    The download link of one version of a module.
    latestVersion(String identifyString)
    The latest version of a module.
  • Method Details

    • latestVersion

      String latestVersion(String identifyString)
      The latest version of a module.
      Parameters:
      identifyString - the module's identify-string
      Returns:
      the version, or null when there is none
      Throws:
      ModuleFileTransactions.NoCompatibleVersionException - when the catalogue has versions of the module but none this framework installs
    • downloadLink

      String downloadLink(String identifyString, String version)
      The download link of one version of a module.
      Parameters:
      identifyString - the module's identify-string
      version - the version
      Returns:
      the link, or null when there is none