diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-06-25 14:58:15 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-06-25 14:58:15 +0200 |
commit | 9324c91fd0abd1dcbf3cae19a9a83f9f15b74a4e (patch) | |
tree | 034e6af7395f00559878d92ba02fcce93c18a229 /sonar-ws-client | |
parent | 58dfb0214acdc65af36741e5a5d3ab55680add1d (diff) | |
download | sonarqube-9324c91fd0abd1dcbf3cae19a9a83f9f15b74a4e.tar.gz sonarqube-9324c91fd0abd1dcbf3cae19a9a83f9f15b74a4e.zip |
Temporary remove files because git does not want to rename them
Diffstat (limited to 'sonar-ws-client')
-rw-r--r-- | sonar-ws-client/src/main/java/org/sonar/wsclient/issue/Bulkchange.java | 35 | ||||
-rw-r--r-- | sonar-ws-client/src/main/java/org/sonar/wsclient/issue/BulkchangeQuery.java | 73 |
2 files changed, 0 insertions, 108 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/Bulkchange.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/Bulkchange.java deleted file mode 100644 index d20dd220315..00000000000 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/Bulkchange.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * SonarQube, open source software quality management tool. - * Copyright (C) 2008-2013 SonarSource - * mailto:contact AT sonarsource DOT com - * - * SonarQube 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. - * - * SonarQube 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.sonar.wsclient.issue; - -import java.util.List; - -/** - * @since 3.7 - */ -public interface BulkChange { - - List<String> issuesNotChangedKeys(); - - int totalIssuesChanged(); - - int totalIssuesNotChanged(); - -} diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/BulkchangeQuery.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/BulkchangeQuery.java deleted file mode 100644 index b6980dfef68..00000000000 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/BulkchangeQuery.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * SonarQube, open source software quality management tool. - * Copyright (C) 2008-2013 SonarSource - * mailto:contact AT sonarsource DOT com - * - * SonarQube 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. - * - * SonarQube 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.sonar.wsclient.issue; - -import org.sonar.wsclient.internal.EncodingUtils; - -import java.util.HashMap; -import java.util.Map; - -/** - * @since 3.7 - */ -public class BulkChangeQuery { - - private final Map<String, Object> params = new HashMap<String, Object>(); - - private BulkChangeQuery() { - } - - public static BulkChangeQuery create() { - return new BulkChangeQuery(); - } - - /** - * URL query string, for internal use - */ - public Map<String, Object> urlParams() { - return params; - } - - public BulkChangeQuery issues(String... keys) { - return addParam("issues", keys); - } - - public BulkChangeQuery actions(String... actions) { - return addParam("actions", actions); - } - - public BulkChangeQuery actionParameter(String action, String parameter, Object value) { - params.put(action + "." + parameter, value); - return this; - } - - public BulkChangeQuery comment(String comment) { - params.put("comment", comment); - return this; - } - - private BulkChangeQuery addParam(String key, String[] values) { - if (values != null) { - params.put(key, EncodingUtils.toQueryParam(values)); - } - return this; - } - -} |