org.sonar.batch.bootstrap
Class BatchPluginRepository
java.lang.Object
org.sonar.batch.bootstrap.BatchPluginRepository
- All Implemented Interfaces:
- BatchComponent, PluginRepository
public class BatchPluginRepository
- extends Object
- implements PluginRepository
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchPluginRepository
public BatchPluginRepository(ArtifactDownloader artifactDownloader,
Settings settings)
start
public void start()
stop
public void stop()
getPlugins
public Collection<Plugin> getPlugins()
- Specified by:
getPlugins
in interface PluginRepository
getPlugin
public Plugin getPlugin(String key)
- Specified by:
getPlugin
in interface PluginRepository
getPluginsByKey
public Map<String,Plugin> getPluginsByKey()
getProperties
public Property[] getProperties(Plugin plugin)
- Specified by:
getProperties
in interface PluginRepository
getMetadata
public Collection<PluginMetadata> getMetadata()
- Description copied from interface:
PluginRepository
- Metadata of installed plugins. Metadata includes all the fields available in update center
(plugin key, name, version, description, license, ...) and some technical information like
list of embedded libraries and classloader strategy.
- Specified by:
getMetadata
in interface PluginRepository
getMetadata
public PluginMetadata getMetadata(String pluginKey)
- Description copied from interface:
PluginRepository
- Search for an installed plugin. Returns null if the plugin is not installed.
- Specified by:
getMetadata
in interface PluginRepository
getPluginsByMetadata
public Map<PluginMetadata,Plugin> getPluginsByMetadata()
Copyright © 2009-2011 SonarSource. All Rights Reserved.