Class UpdateCenter

java.lang.Object
org.sonar.updatecenter.common.UpdateCenter

public class UpdateCenter extends Object
  • Method Details

    • create

      public static UpdateCenter create(PluginReferential updateCenterPluginReferential, List<Scanner> scanners, Sonar sonar, @Nullable Product product)
    • getUpdateCenterPluginReferential

      public PluginReferential getUpdateCenterPluginReferential()
    • registerInstalledPlugins

      public UpdateCenter registerInstalledPlugins(PluginReferential installedPluginReferential)
    • getSonar

      public Sonar getSonar()
    • setInstalledSonarVersion

      public UpdateCenter setInstalledSonarVersion(Version installedSonarVersion)
    • getDate

      public Date getDate()
    • setDate

      public UpdateCenter setDate(@Nullable Date date)
    • getScanners

      public List<Scanner> getScanners()
    • findAvailablePlugins

      public List<PluginUpdate> findAvailablePlugins()
    • findAllCompatiblePlugins

      public List<Plugin> findAllCompatiblePlugins()
      Return all plugins with at least one version compatible with SQ. For ecosystems only parent plugin is returned.
    • findPluginUpdates

      public List<PluginUpdate> findPluginUpdates()
    • findInstallablePlugins

      public List<Release> findInstallablePlugins(String pluginKey, Version minimumVersion)
      Return all releases to download (including outgoing dependencies and installed incoming dependencies) to install / update a plugin
    • findSonarUpdates

      public List<SonarUpdate> findSonarUpdates()
    • getInstalledSonarProduct

      public Product getInstalledSonarProduct()
    • setInstalledSonarProduct

      public void setInstalledSonarProduct(Product installedSonarProduct)