org.sonar.server.plugins
Class PluginDownloader

java.lang.Object
  extended by org.sonar.server.plugins.PluginDownloader
All Implemented Interfaces:
ServerComponent

public class PluginDownloader
extends Object
implements ServerComponent


Constructor Summary
PluginDownloader(UpdateCenterClient center, HttpDownloader downloader, DefaultServerFileSystem fileSystem)
           
 
Method Summary
 void cancelDownloads()
           
 void download(String pluginKey, org.sonar.updatecenter.common.Version version)
           
 List<String> getDownloads()
           
 boolean hasDownloads()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginDownloader

public PluginDownloader(UpdateCenterClient center,
                        HttpDownloader downloader,
                        DefaultServerFileSystem fileSystem)
Method Detail

cancelDownloads

public void cancelDownloads()

hasDownloads

public boolean hasDownloads()

getDownloads

public List<String> getDownloads()

download

public void download(String pluginKey,
                     org.sonar.updatecenter.common.Version version)


Copyright © 2009-2011 SonarSource. All Rights Reserved.