org.sonar.api.platform
Interface PluginRepository

All Superinterfaces:
BatchComponent
All Known Subinterfaces:
ServerPluginRepository

public interface PluginRepository
extends BatchComponent


Method Summary
 Collection<PluginMetadata> getMetadata()
          Metadata of installed plugins.
 PluginMetadata getMetadata(String pluginKey)
          Search for an installed plugin.
 Plugin getPlugin(String key)
           
 Collection<Plugin> getPlugins()
           
 Property[] getProperties(Plugin plugin)
           
 

Method Detail

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-2011 SonarSource. All Rights Reserved.