org.sonar.batch.bootstrap
Class DefaultPluginsReferential

java.lang.Object
  extended by org.sonar.batch.bootstrap.DefaultPluginsReferential
All Implemented Interfaces:
PluginsReferential

public class DefaultPluginsReferential
extends Object
implements PluginsReferential

A PluginsReferential implementation that put downloaded plugins in a FS cache.


Constructor Summary
DefaultPluginsReferential(FileCache fileCache, ServerClient server)
           
 
Method Summary
 Map<PluginMetadata,SonarPlugin> localPlugins()
          Return the list of local plugins to be installed
 File pluginFile(RemotePlugin remote)
          Return location of a given plugin on the local FS.
 List<RemotePlugin> pluginList()
          Return list of remote plugins to be installed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPluginsReferential

public DefaultPluginsReferential(FileCache fileCache,
                                 ServerClient server)
Method Detail

pluginFile

public File pluginFile(RemotePlugin remote)
Description copied from interface: PluginsReferential
Return location of a given plugin on the local FS.

Specified by:
pluginFile in interface PluginsReferential

pluginList

public List<RemotePlugin> pluginList()
Description copied from interface: PluginsReferential
Return list of remote plugins to be installed

Specified by:
pluginList in interface PluginsReferential

localPlugins

public Map<PluginMetadata,SonarPlugin> localPlugins()
Description copied from interface: PluginsReferential
Return the list of local plugins to be installed

Specified by:
localPlugins in interface PluginsReferential


Copyright © 2009–2015 SonarSource. All rights reserved.