org.sonar.server.plugins
Class UpdateCenterClient
java.lang.Object
org.sonar.server.plugins.UpdateCenterClient
- All Implemented Interfaces:
- ServerComponent
public class UpdateCenterClient
- extends Object
- implements ServerComponent
HTTP client to load data from the remote update center hosted at http://update.sonarsource.org.
- Since:
- 2.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URL_PROPERTY
public static final String URL_PROPERTY
- See Also:
- Constant Field Values
PERIOD_IN_MILLISECONDS
public static final int PERIOD_IN_MILLISECONDS
- See Also:
- Constant Field Values
UpdateCenterClient
public UpdateCenterClient(HttpDownloader downloader,
Settings configuration)
throws URISyntaxException
- Throws:
URISyntaxException
getCenter
public org.sonar.updatecenter.common.UpdateCenter getCenter()
getCenter
public org.sonar.updatecenter.common.UpdateCenter getCenter(boolean forceRefresh)
getLastRefreshDate
public Date getLastRefreshDate()
Copyright © 2009-2011 SonarSource. All Rights Reserved.