use of org.sonarsource.sonarlint.core.container.global.GlobalExtensionContainer in project sonarlint-core by SonarSource.
the class StorageContainer method doAfterStart.
@Override
protected void doAfterStart() {
ConnectedGlobalConfiguration config = getComponentByType(ConnectedGlobalConfiguration.class);
GlobalStorageStatus updateStatus = getComponentByType(StorageContainerHandler.class).getGlobalStorageStatus();
if (updateStatus != null) {
LOG.info("Using storage for server '{}' (last update {})", config.getServerId(), DATE_FORMAT.format(updateStatus.getLastUpdateDate()));
installPlugins();
} else {
LOG.warn("No storage for server '{}'. Please update.", config.getServerId());
}
this.globalExtensionContainer = new GlobalExtensionContainer(this);
globalExtensionContainer.startComponents();
}
use of org.sonarsource.sonarlint.core.container.global.GlobalExtensionContainer in project sonarlint-core by SonarSource.
the class StandaloneGlobalContainer method doAfterStart.
@Override
protected void doAfterStart() {
installPlugins();
loadRulesAndActiveRulesFromPlugins();
globalExtensionContainer = new GlobalExtensionContainer(this);
globalExtensionContainer.startComponents();
}
Aggregations