use of org.sonarsource.sonarlint.core.plugin.PluginRepository in project sonarlint-core by SonarSource.
the class StorageContainer method installPlugins.
protected void installPlugins() {
PluginRepository pluginRepository = getComponentByType(PluginRepository.class);
for (PluginInfo pluginInfo : pluginRepository.getPluginInfos()) {
Plugin instance = pluginRepository.getPluginInstance(pluginInfo.getKey());
addExtension(pluginInfo, instance);
}
}
use of org.sonarsource.sonarlint.core.plugin.PluginRepository in project sonarlint-core by SonarSource.
the class StandaloneGlobalContainer method installPlugins.
protected void installPlugins() {
PluginRepository pluginRepository = getComponentByType(PluginRepository.class);
for (PluginInfo pluginInfo : pluginRepository.getPluginInfos()) {
Plugin instance = pluginRepository.getPluginInstance(pluginInfo.getKey());
addExtension(pluginInfo, instance);
}
}
Aggregations