diff options
author | Zipeng WU <zipeng.wu@sonarsource.com> | 2021-06-25 09:18:27 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-07-07 20:03:24 +0000 |
commit | 7994ab1cd1740e5b25842bc99cd05209e9813520 (patch) | |
tree | 3d51a17d108f6f0b79a04c2efcb11d6db1a0372c /sonar-ws/src/main/java | |
parent | 24036f4a57961c5652bfa0508f6544cc66085596 (diff) | |
download | sonarqube-7994ab1cd1740e5b25842bc99cd05209e9813520.tar.gz sonarqube-7994ab1cd1740e5b25842bc99cd05209e9813520.zip |
SONAR-10762 Drop Manual Measure from portfolios
Diffstat (limited to 'sonar-ws/src/main/java')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/views/ManualMeasureRequest.java | 71 | ||||
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/views/ViewsService.java | 17 |
2 files changed, 0 insertions, 88 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ManualMeasureRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ManualMeasureRequest.java deleted file mode 100644 index 2e9924ef403..00000000000 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ManualMeasureRequest.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2021 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -package org.sonarqube.ws.client.views; - -import javax.annotation.Generated; - -/** - * This is part of the internal API. - * This is a POST request. - * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/views/manual_measure">Further information about this action online (including a response example)</a> - * @since 1.0 - */ -@Generated("sonar-ws-generator") -public class ManualMeasureRequest { - - private String key; - private String measure; - private String value; - - /** - * This is a mandatory parameter. - */ - public ManualMeasureRequest setKey(String key) { - this.key = key; - return this; - } - - public String getKey() { - return key; - } - - /** - * This is a mandatory parameter. - */ - public ManualMeasureRequest setMeasure(String measure) { - this.measure = measure; - return this; - } - - public String getMeasure() { - return measure; - } - - /** - */ - public ManualMeasureRequest setValue(String value) { - this.value = value; - return this; - } - - public String getValue() { - return value; - } -} diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ViewsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ViewsService.java index dd9c49a294b..52ba65115e0 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ViewsService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/views/ViewsService.java @@ -197,23 +197,6 @@ public class ViewsService extends BaseService { * * This is part of the internal API. * This is a POST request. - * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/views/manual_measure">Further information about this action online (including a response example)</a> - * @since 1.0 - */ - public void manualMeasure(ManualMeasureRequest request) { - call( - new PostRequest(path("manual_measure")) - .setParam("key", request.getKey()) - .setParam("measure", request.getMeasure()) - .setParam("value", request.getValue()) - .setMediaType(MediaTypes.JSON) - ).content(); - } - - /** - * - * This is part of the internal API. - * This is a POST request. * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/views/mode">Further information about this action online (including a response example)</a> * @since 2.6 * @deprecated since 7.4 |