Search in sources :

Example 1 with ProjectIndexer

use of org.sonar.server.es.ProjectIndexer in project sonarqube by SonarSource.

the class IndexAnalysisStep method execute.

@Override
public void execute() {
    String projectUuid = treeRootHolder.getRoot().getUuid();
    for (ProjectIndexer indexer : indexers) {
        LOGGER.debug("Call {}", indexer);
        indexer.indexProject(projectUuid, ProjectIndexer.Cause.NEW_ANALYSIS);
    }
}
Also used : ProjectIndexer(org.sonar.server.es.ProjectIndexer)

Aggregations

ProjectIndexer (org.sonar.server.es.ProjectIndexer)1