|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.wsclient.SonarClient
public class SonarClient
Entry point of the Java Client for Sonar Web Services. It does not support all web services yet.
Example:
SonarClient client = SonarClient.create("http://localhost:9000");
IssueClient issueClient = client.issueClient();
| Nested Class Summary | |
|---|---|
static class |
SonarClient.Builder
|
| Field Summary | |
|---|---|
static int |
DEFAULT_CONNECT_TIMEOUT_MILLISECONDS
|
static int |
DEFAULT_READ_TIMEOUT_MILLISECONDS
|
| Method Summary | |
|---|---|
ActionPlanClient |
actionPlanClient()
New client to interact with web services related to issue action plans |
static SonarClient.Builder |
builder()
Create a builder of SonarClients. |
static SonarClient |
create(String serverUrl)
Create a client with default configuration. |
IssueClient |
issueClient()
New client to interact with web services related to issues |
PermissionClient |
permissionClient()
New client to interact with web services related to users and groups permissions |
UserClient |
userClient()
New client to interact with web services related to users |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_CONNECT_TIMEOUT_MILLISECONDS
public static final int DEFAULT_READ_TIMEOUT_MILLISECONDS
| Method Detail |
|---|
public IssueClient issueClient()
public ActionPlanClient actionPlanClient()
public UserClient userClient()
public PermissionClient permissionClient()
public static SonarClient.Builder builder()
SonarClients.
public static SonarClient create(String serverUrl)
builder() to define
a custom configuration (credentials, HTTP proxy, HTTP timeouts).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||