org.sonar.server.plugins
Class UpdateCenterMatrix

java.lang.Object
  extended by org.sonar.server.plugins.UpdateCenterMatrix

public final class UpdateCenterMatrix
extends Object


Constructor Summary
UpdateCenterMatrix(org.sonar.updatecenter.common.UpdateCenter center, String installedSonarVersion)
           
UpdateCenterMatrix(org.sonar.updatecenter.common.UpdateCenter center, org.sonar.updatecenter.common.Version installedSonarVersion)
           
 
Method Summary
 List<PluginUpdate> findAvailablePlugins()
           
 List<PluginUpdate> findPluginUpdates()
           
 List<SonarUpdate> findSonarUpdates()
           
 org.sonar.updatecenter.common.UpdateCenter getCenter()
           
 Date getDate()
           
 org.sonar.updatecenter.common.Version getInstalledSonarVersion()
           
 UpdateCenterMatrix registerInstalledPlugin(String pluginKey, org.sonar.updatecenter.common.Version pluginVersion)
           
 UpdateCenterMatrix registerPendingPluginsByFilename(String filename)
           
 UpdateCenterMatrix setDate(Date d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateCenterMatrix

public UpdateCenterMatrix(org.sonar.updatecenter.common.UpdateCenter center,
                          org.sonar.updatecenter.common.Version installedSonarVersion)

UpdateCenterMatrix

public UpdateCenterMatrix(org.sonar.updatecenter.common.UpdateCenter center,
                          String installedSonarVersion)
Method Detail

getCenter

public org.sonar.updatecenter.common.UpdateCenter getCenter()

getInstalledSonarVersion

public org.sonar.updatecenter.common.Version getInstalledSonarVersion()

registerInstalledPlugin

public UpdateCenterMatrix registerInstalledPlugin(String pluginKey,
                                                  org.sonar.updatecenter.common.Version pluginVersion)

registerPendingPluginsByFilename

public UpdateCenterMatrix registerPendingPluginsByFilename(String filename)

findAvailablePlugins

public List<PluginUpdate> findAvailablePlugins()

findPluginUpdates

public List<PluginUpdate> findPluginUpdates()

findSonarUpdates

public List<SonarUpdate> findSonarUpdates()

getDate

public Date getDate()

setDate

public UpdateCenterMatrix setDate(Date d)


Copyright © 2009-2012 SonarSource. All Rights Reserved.