use of org.sonarqube.ws.Rules.ListResponse in project sonarqube by SonarSource.
the class DefaultRulesLoader method load.
@Override
public List<Rule> load() {
GetRequest getRequest = new GetRequest(RULES_SEARCH_URL);
ListResponse list = loadFromStream(wsClient.call(getRequest).contentStream());
return list.getRulesList();
}
Aggregations