org.sonar.api.platform
Interface PluginRepository
- All Superinterfaces:
- BatchComponent
- All Known Subinterfaces:
- ServerPluginRepository
- All Known Implementing Classes:
- BatchPluginRepository, DefaultServerPluginRepository
public interface PluginRepository
- extends BatchComponent
getPlugins
Collection<Plugin> getPlugins()
getPlugin
Plugin getPlugin(String key)
getProperties
Property[] getProperties(Plugin plugin)
getMetadata
Collection<PluginMetadata> getMetadata()
- 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.
- Since:
- 2.9
getMetadata
PluginMetadata getMetadata(String pluginKey)
- Search for an installed plugin. Returns null if the plugin is not installed.
- Since:
- 2.9
Copyright © 2009-2012 SonarSource. All Rights Reserved.