public class SonarRestClient extends Object
| Constructor and Description |
|---|
SonarRestClient(String baseUrl,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
Project |
getProject(String projectKey) |
ProjectIssues |
getProjectIssues(String projectKey) |
ProjectIssues |
getProjectIssues(String projectKey,
Integer maxResults) |
ProjectIssues |
getProjectIssues(String projectKey,
Integer maxResults,
List<ProjectIssueSeverity> severities) |
ProjectIssues |
getProjectIssues(String projectKey,
Integer maxResults,
ProjectIssueSeverity severity) |
List<Map<String,String>> |
getProjectMetrics(String projectKey,
String... metrics) |
ProjectStatus |
getProjectStatus(String projectKey) |
String |
getProjectUrl(String projectKey) |
public List<Map<String,String>> getProjectMetrics(String projectKey, String... metrics) throws Exception
Exceptionpublic ProjectStatus getProjectStatus(String projectKey) throws Exception
Exceptionpublic ProjectIssues getProjectIssues(String projectKey) throws Exception
Exceptionpublic ProjectIssues getProjectIssues(String projectKey, Integer maxResults) throws Exception
Exceptionpublic ProjectIssues getProjectIssues(String projectKey, Integer maxResults, ProjectIssueSeverity severity) throws Exception
Exceptionpublic ProjectIssues getProjectIssues(String projectKey, Integer maxResults, List<ProjectIssueSeverity> severities) throws Exception
ExceptionCopyright © 2017. All rights reserved.