|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 SonarClient s. |
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 |
ProjectClient |
projectClient()
New client to interact with web services related to projects |
QualityGateClient |
qualityGateClient()
New client to interact with web services related to quality gates |
RuleClient |
ruleClient()
New client to interact with web services related to rules |
RuleTagClient |
ruleTagClient()
New client to interact with web services related to rule tags |
SystemClient |
systemClient()
|
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 ProjectClient projectClient()
public RuleTagClient ruleTagClient()
public RuleClient ruleClient()
public QualityGateClient qualityGateClient()
public SystemClient systemClient()
public static SonarClient.Builder builder()
SonarClient
s.
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 |