diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-12-13 17:34:51 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-12-14 16:46:35 +0100 |
commit | b34f03299ce0849cc832467a0ab4073c01e1d6b2 (patch) | |
tree | 1c6afaab510c383ebd22958acf810e567ac2d541 /sonar-ws/src | |
parent | 31a1326c4edd38fafea520e0e35f50f7e30ccaf5 (diff) | |
download | sonarqube-b34f03299ce0849cc832467a0ab4073c01e1d6b2.tar.gz sonarqube-b34f03299ce0849cc832467a0ab4073c01e1d6b2.zip |
SONAR-8468 Create WS api/project_analyses/delete
Diffstat (limited to 'sonar-ws/src')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/projectanalysis/DeleteRequest.java | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/projectanalysis/DeleteRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/projectanalysis/DeleteRequest.java new file mode 100644 index 00000000000..e8474110534 --- /dev/null +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/projectanalysis/DeleteRequest.java @@ -0,0 +1,35 @@ +/* + * SonarQube + * Copyright (C) 2009-2016 SonarSource SA + * mailto:contact 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.projectanalysis; + +import static java.util.Objects.requireNonNull; + +public class DeleteRequest { + private final String analysis; + + public DeleteRequest(String analysis) { + this.analysis = requireNonNull(analysis); + } + + public String getAnalysis() { + return analysis; + } +} |