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;
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);