public class UpdateCenter extends Object
Modifier and Type | Method and Description |
---|---|
static UpdateCenter |
create(PluginReferential updateCenterPluginReferential,
Sonar sonar) |
List<Plugin> |
findAllCompatiblePlugins()
Return all plugins with at least one version compatible with SQ.
|
List<PluginUpdate> |
findAvailablePlugins() |
List<Release> |
findInstallablePlugins(String pluginKey,
Version minimumVersion)
Return all releases to download (including outgoing dependencies and installed incoming dependencies) to install / update a plugin
|
List<PluginUpdate> |
findPluginUpdates() |
List<SonarUpdate> |
findSonarUpdates() |
Date |
getDate() |
Sonar |
getSonar() |
PluginReferential |
getUpdateCenterPluginReferential() |
UpdateCenter |
registerInstalledPlugins(PluginReferential installedPluginReferential) |
UpdateCenter |
setDate(Date date) |
UpdateCenter |
setInstalledSonarVersion(Version installedSonarVersion) |
public static UpdateCenter create(PluginReferential updateCenterPluginReferential, Sonar sonar)
public PluginReferential getUpdateCenterPluginReferential()
public UpdateCenter registerInstalledPlugins(PluginReferential installedPluginReferential)
public Sonar getSonar()
public UpdateCenter setInstalledSonarVersion(Version installedSonarVersion)
public Date getDate()
public UpdateCenter setDate(Date date)
public List<PluginUpdate> findAvailablePlugins()
public List<Plugin> findAllCompatiblePlugins()
public List<PluginUpdate> findPluginUpdates()
public List<Release> findInstallablePlugins(String pluginKey, Version minimumVersion)
public List<SonarUpdate> findSonarUpdates()
Copyright © 2010–2018 SonarSource. All rights reserved.