Package com.ultikits.ultitools.utils
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 TypeMethodDescriptiondownloadLink(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
The latest version of a module.- Parameters:
identifyString- the module's identify-string- Returns:
- the version, or
nullwhen there is none - Throws:
ModuleFileTransactions.NoCompatibleVersionException- when the catalogue has versions of the module but none this framework installs
-
downloadLink
The download link of one version of a module.- Parameters:
identifyString- the module's identify-stringversion- the version- Returns:
- the link, or
nullwhen there is none
-