Search in sources :

Example 1 with ComputeEngineImpl

use of org.sonar.ce.ComputeEngineImpl in project sonarqube by SonarSource.

the class CeServer method main.

/**
   * Can't be started as is. Needs to be bootstrapped by sonar-application
   */
public static void main(String[] args) {
    ProcessEntryPoint entryPoint = ProcessEntryPoint.createForArguments(args);
    Props props = entryPoint.getProps();
    new CeProcessLogging().configure(props);
    CeServer server = new CeServer(new ComputeEngineImpl(props, new ComputeEngineContainerImpl()), new MinimumViableSystem());
    entryPoint.launch(server);
}
Also used : ComputeEngineContainerImpl(org.sonar.ce.container.ComputeEngineContainerImpl) ProcessEntryPoint(org.sonar.process.ProcessEntryPoint) CeProcessLogging(org.sonar.ce.log.CeProcessLogging) MinimumViableSystem(org.sonar.process.MinimumViableSystem) Props(org.sonar.process.Props) ComputeEngineImpl(org.sonar.ce.ComputeEngineImpl)

Aggregations

ComputeEngineImpl (org.sonar.ce.ComputeEngineImpl)1 ComputeEngineContainerImpl (org.sonar.ce.container.ComputeEngineContainerImpl)1 CeProcessLogging (org.sonar.ce.log.CeProcessLogging)1 MinimumViableSystem (org.sonar.process.MinimumViableSystem)1 ProcessEntryPoint (org.sonar.process.ProcessEntryPoint)1 Props (org.sonar.process.Props)1