Search in sources :

Example 1 with CoreExtensionsInstaller

use of org.sonar.core.extension.CoreExtensionsInstaller in project sonarqube by SonarSource.

the class PlatformLevel4 method start.

@Override
public PlatformLevel start() {
    SpringComponentContainer container = getContainer();
    CoreExtensionsInstaller coreExtensionsInstaller = parent.get(WebCoreExtensionsInstaller.class);
    coreExtensionsInstaller.install(container, hasPlatformLevel4OrNone(), noAdditionalSideFilter());
    ServerExtensionInstaller extensionInstaller = parent.get(ServerExtensionInstaller.class);
    extensionInstaller.installExtensions(container);
    super.start();
    return this;
}
Also used : SpringComponentContainer(org.sonar.core.platform.SpringComponentContainer) WebCoreExtensionsInstaller(org.sonar.server.platform.WebCoreExtensionsInstaller) CoreExtensionsInstaller(org.sonar.core.extension.CoreExtensionsInstaller) ServerExtensionInstaller(org.sonar.server.plugins.ServerExtensionInstaller)

Example 2 with CoreExtensionsInstaller

use of org.sonar.core.extension.CoreExtensionsInstaller in project sonarqube by SonarSource.

the class PlatformLevel3 method start.

@Override
public PlatformLevel start() {
    SpringComponentContainer container = getContainer();
    CoreExtensionsInstaller coreExtensionsInstaller = parent.get(WebCoreExtensionsInstaller.class);
    coreExtensionsInstaller.install(container, hasPlatformLevel(3), noAdditionalSideFilter());
    return super.start();
}
Also used : SpringComponentContainer(org.sonar.core.platform.SpringComponentContainer) CoreExtensionsInstaller(org.sonar.core.extension.CoreExtensionsInstaller) WebCoreExtensionsInstaller(org.sonar.server.platform.WebCoreExtensionsInstaller)

Example 3 with CoreExtensionsInstaller

use of org.sonar.core.extension.CoreExtensionsInstaller in project sonarqube by SonarSource.

the class PlatformLevel2 method start.

@Override
public PlatformLevel start() {
    SpringComponentContainer container = getContainer();
    CoreExtensionsInstaller coreExtensionsInstaller = parent.get(WebCoreExtensionsInstaller.class);
    coreExtensionsInstaller.install(container, hasPlatformLevel(2), noAdditionalSideFilter());
    return super.start();
}
Also used : SpringComponentContainer(org.sonar.core.platform.SpringComponentContainer) CoreExtensionsInstaller(org.sonar.core.extension.CoreExtensionsInstaller) WebCoreExtensionsInstaller(org.sonar.server.platform.WebCoreExtensionsInstaller)

Aggregations

CoreExtensionsInstaller (org.sonar.core.extension.CoreExtensionsInstaller)3 SpringComponentContainer (org.sonar.core.platform.SpringComponentContainer)3 WebCoreExtensionsInstaller (org.sonar.server.platform.WebCoreExtensionsInstaller)3 ServerExtensionInstaller (org.sonar.server.plugins.ServerExtensionInstaller)1