org.sonar.api.platform
Interface PluginRepository

All Superinterfaces:
BatchComponent, ServerComponent

public interface PluginRepository
extends BatchComponent, ServerComponent


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

Method Detail

getPlugin

@CheckForNull
Plugin getPlugin(String key)

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

@CheckForNull
PluginMetadata getMetadata(String pluginKey)
Search for an installed plugin. Returns null if the plugin is not installed.

Since:
2.9


Copyright © 2009–2015 SonarSource. All rights reserved.