Package org.sonar.updatecenter.common
Class UpdateCenter
java.lang.Object
org.sonar.updatecenter.common.UpdateCenter
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateCentercreate(PluginReferential updateCenterPluginReferential, List<Scanner> scanners, Sonar sonar, Product product) Return all plugins with at least one version compatible with SQ.findInstallablePlugins(String pluginKey, Version minimumVersion) Return all releases to download (including outgoing dependencies and installed incoming dependencies) to install / update a plugingetDate()getSonar()registerInstalledPlugins(PluginReferential installedPluginReferential) voidsetInstalledSonarProduct(Product installedSonarProduct) setInstalledSonarVersion(Version installedSonarVersion)
-
Method Details
-
create
public static UpdateCenter create(PluginReferential updateCenterPluginReferential, List<Scanner> scanners, Sonar sonar, @Nullable Product product) -
getUpdateCenterPluginReferential
-
registerInstalledPlugins
-
getSonar
-
setInstalledSonarVersion
-
getDate
-
setDate
-
getScanners
-
findAvailablePlugins
-
findAllCompatiblePlugins
Return all plugins with at least one version compatible with SQ. For ecosystems only parent plugin is returned. -
findPluginUpdates
-
findInstallablePlugins
Return all releases to download (including outgoing dependencies and installed incoming dependencies) to install / update a plugin -
findSonarUpdates
-
getInstalledSonarProduct
-
setInstalledSonarProduct
-