summaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/platform/PluginRepository.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/platform/PluginRepository.java b/sonar-plugin-api/src/main/java/org/sonar/api/platform/PluginRepository.java
index 91556e7eb32..2eb1ceb7de9 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/platform/PluginRepository.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/platform/PluginRepository.java
@@ -34,11 +34,16 @@ public interface PluginRepository extends BatchComponent, ServerComponent {
Property[] getProperties(Plugin plugin);
/**
+ * 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
*/
Collection<PluginMetadata> getMetadata();
/**
+ * Search for an installed plugin. Returns null if the plugin is not installed.
* @since 2.9
*/
PluginMetadata getMetadata(String pluginKey);