aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-06-10 17:32:22 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-06-10 17:32:22 +0200
commit99fd0462d4e28b39e2116072242dde515269b988 (patch)
tree8f639a39c2f18940dc77a3164623e61e602479f2
parent318623dd708364abb660f029b2bbe7ecb642a743 (diff)
downloadsonarqube-99fd0462d4e28b39e2116072242dde515269b988.tar.gz
sonarqube-99fd0462d4e28b39e2116072242dde515269b988.zip
Add javadoc to org.sonar.api.platform.PluginRepository
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java1
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/platform/PluginRepository.java5
2 files changed, 5 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java
index e78c7251f49..8081cda1366 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java
@@ -22,7 +22,6 @@ package org.sonar.batch.bootstrap;
import org.sonar.api.Plugins;
import org.sonar.api.measures.CoreMetrics;
import org.sonar.api.measures.Metric;
-import org.sonar.api.measures.Metrics;
import org.sonar.api.resources.Project;
import org.sonar.api.utils.ServerHttpClient;
import org.sonar.batch.DefaultResourceCreationLock;
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);