diff options
Diffstat (limited to 'sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java index b9822ee9872..39886b57a61 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java @@ -27,6 +27,7 @@ import org.sonarqube.ws.client.component.ComponentsWsClient; import org.sonarqube.ws.client.issue.IssuesWsClient; import org.sonarqube.ws.client.permission.PermissionsWsClient; import org.sonarqube.ws.client.qualityprofile.QualityProfilesWsClient; +import org.sonarqube.ws.client.usertoken.UserTokensWsClient; import static org.sonarqube.ws.client.WsRequest.MediaType.PROTOBUF; @@ -48,6 +49,7 @@ public class WsClient { private final ComponentsWsClient componentsWsClient; private final QualityProfilesWsClient qualityProfilesWsClient; private final IssuesWsClient issuesWsClient; + private final UserTokensWsClient userTokensWsClient; public WsClient(WsConnector wsConnector) { this.wsConnector = wsConnector; @@ -55,6 +57,7 @@ public class WsClient { this.componentsWsClient = new ComponentsWsClient(this); this.qualityProfilesWsClient = new QualityProfilesWsClient(this); this.issuesWsClient = new IssuesWsClient(this); + userTokensWsClient = new UserTokensWsClient(this); } public String execute(WsRequest wsRequest) { @@ -80,4 +83,8 @@ public class WsClient { public IssuesWsClient issuesWsClient() { return issuesWsClient; } + + public UserTokensWsClient userTokensWsClient() { + return userTokensWsClient; + } } |