]> source.dussan.org Git - sonarqube.git/commitdiff
Deprecate non-generated sonar-ws service classes
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>
Thu, 30 Nov 2017 09:26:10 +0000 (10:26 +0100)
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>
Wed, 6 Dec 2017 13:40:17 +0000 (14:40 +0100)
sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/measure/MeasuresService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/permission/PermissionsService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/projectanalysis/ProjectAnalysisService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java

index 163b1fdb3e7c76bc88c680df55392673a8487f2c..acb55db838b627bedd928e71b49504973fccf802 100644 (file)
@@ -46,6 +46,10 @@ import static org.sonarqube.ws.client.component.ComponentsWsParameters.PARAM_ORG
 import static org.sonarqube.ws.client.component.ComponentsWsParameters.PARAM_QUALIFIERS;
 import static org.sonarqube.ws.client.component.ComponentsWsParameters.PARAM_STRATEGY;
 
+/**
+ * @deprecated since 7.0, use {@link org.sonarqube.ws.client.components.ComponentsService} instead
+ */
+@Deprecated
 public class ComponentsService extends BaseService {
 
   public ComponentsService(WsConnector wsConnector) {
index 58e94c13e2e0245ce1b89d0ec5cc1f564b69ffcd..4cc625cbd2311cd592705bd897ee13f1865304cc 100644 (file)
@@ -98,6 +98,10 @@ import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_TRANSITION;
 import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_TYPE;
 import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_TYPES;
 
+/**
+ * @deprecated since 7.0, use {@link org.sonarqube.ws.client.issues.IssuesService} instead
+ */
+@Deprecated
 public class IssuesService extends BaseService {
 
   public IssuesService(WsConnector wsConnector) {
index 201a0c9b0d54efdb24bf8be9bff3fbc4feccd693..e68608e655e6d46e48de4abc6a8836c04d69912d 100644 (file)
@@ -51,6 +51,10 @@ import static org.sonarqube.ws.client.measure.MeasuresWsParameters.PARAM_QUALIFI
 import static org.sonarqube.ws.client.measure.MeasuresWsParameters.PARAM_STRATEGY;
 import static org.sonarqube.ws.client.measure.MeasuresWsParameters.PARAM_TO;
 
+/**
+ * @deprecated since 7.0, use {@link org.sonarqube.ws.client.measures.MeasuresService} instead
+ */
+@Deprecated
 public class MeasuresService extends BaseService {
   public MeasuresService(WsConnector wsConnector) {
     super(wsConnector, CONTROLLER_MEASURES);
index 96bac737a3afa735127e7591d2aac5fad537b624..566558cf3c9ac58de823b49150a07abaf6ec8543 100644 (file)
@@ -34,6 +34,10 @@ import static org.sonar.api.server.ws.WebService.Param.TEXT_QUERY;
 import static org.sonarqube.ws.Organizations.CreateWsResponse;
 import static org.sonarqube.ws.Organizations.UpdateWsResponse;
 
+/**
+ * @deprecated since 7.0, use {@link org.sonarqube.ws.client.organizations.OrganizationsService} instead
+ */
+@Deprecated
 public class OrganizationService extends BaseService {
 
   public OrganizationService(WsConnector wsConnector) {
index e6e353bff5b8d0a79cc6fe2fd60009454e195627..c87986ac5187245446abf6aab523cb7a1bd59d81 100644 (file)
@@ -47,6 +47,10 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_T
 import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME;
 import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_USER_LOGIN;
 
+/**
+ * @deprecated since 7.0, use {@link PermissionsService} instead
+ */
+@Deprecated
 public class PermissionsService extends BaseService {
 
   public PermissionsService(WsConnector wsConnector) {
index 23cd6034fae0d861a0e662058cc7f5a02cd0ece6..cf4ca3cf831dfb6c2cef80c6d598669e84fe162e 100644 (file)
@@ -30,6 +30,10 @@ import static org.sonarqube.ws.client.projectanalysis.ProjectAnalysesWsParameter
 import static org.sonarqube.ws.client.projectanalysis.ProjectAnalysesWsParameters.PARAM_CATEGORY;
 import static org.sonarqube.ws.client.projectanalysis.ProjectAnalysesWsParameters.PARAM_PROJECT;
 
+/**
+ * @deprecated since 7.0, use {@link org.sonarqube.ws.client.projectanalyses.ProjectAnalysesService} instead
+ */
+@Deprecated
 public class ProjectAnalysisService extends BaseService {
 
   public ProjectAnalysisService(WsConnector wsConnector) {
index 45451c61de2e62b99a88c5ccc456b96ca3f23505..aa00e4e3b45b8dbda27a00c6e4cf9542a2fcae67 100644 (file)
@@ -76,6 +76,10 @@ import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.
 import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_TO_NAME;
 import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.RestoreActionParameters.PARAM_BACKUP;
 
+/**
+ * @deprecated since 7.0, use {@link org.sonarqube.ws.client.qualityprofiles.QualityprofilesService} instead
+ */
+@Deprecated
 public class QualityProfilesService extends BaseService {
 
   public QualityProfilesService(WsConnector wsConnector) {