use of com.google.gerrit.extensions.api.projects.IndexProjectInput in project gerrit by GerritCodeReview.
the class ProjectApiImpl method index.
@Override
public void index(boolean indexChildren) throws RestApiException {
try {
IndexProjectInput input = new IndexProjectInput();
input.indexChildren = indexChildren;
index.apply(checkExists(), input);
} catch (Exception e) {
throw asRestApiException("Cannot index project", e);
}
}
Aggregations