diff options
author | Daniel Schwarz <daniel.schwarz@sonarsource.com> | 2017-11-30 10:26:10 +0100 |
---|---|---|
committer | Daniel Schwarz <bartfastiel@users.noreply.github.com> | 2017-12-06 14:40:17 +0100 |
commit | 90bce89957539918e4f10e44e94ff3b8aa920995 (patch) | |
tree | 92c0f8400bef3bc34b8ddc3b573d64d596cac84d | |
parent | 092655abdb8dbb58d5c30ded8f2c293abf979040 (diff) | |
download | sonarqube-90bce89957539918e4f10e44e94ff3b8aa920995.tar.gz sonarqube-90bce89957539918e4f10e44e94ff3b8aa920995.zip |
Deprecate non-generated sonar-ws service classes
7 files changed, 28 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsService.java index 163b1fdb3e7..acb55db838b 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsService.java @@ -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) { diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesService.java index 58e94c13e2e..4cc625cbd23 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesService.java @@ -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) { diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/measure/MeasuresService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/measure/MeasuresService.java index 201a0c9b0d5..e68608e655e 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/measure/MeasuresService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/measure/MeasuresService.java @@ -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); diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java index 96bac737a3a..566558cf3c9 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java @@ -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) { diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/PermissionsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/PermissionsService.java index e6e353bff5b..c87986ac518 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/PermissionsService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/PermissionsService.java @@ -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) { diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/projectanalysis/ProjectAnalysisService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/projectanalysis/ProjectAnalysisService.java index 23cd6034fae..cf4ca3cf831 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/projectanalysis/ProjectAnalysisService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/projectanalysis/ProjectAnalysisService.java @@ -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) { diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java index 45451c61de2..aa00e4e3b45 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java @@ -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) { |