aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/main/java
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2013-11-27 09:23:55 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2013-11-27 09:24:42 +0100
commit56b6fa8c650d96a05734983e874f48c1aff40dae (patch)
tree114c68e9f12664219ff6d04ffdf28223316f8fb5 /sonar-ws-client/src/main/java
parentac5db8387bfabeb9a78ce172fedc6fa86eb9b1e2 (diff)
downloadsonarqube-56b6fa8c650d96a05734983e874f48c1aff40dae.tar.gz
sonarqube-56b6fa8c650d96a05734983e874f48c1aff40dae.zip
SONAR-4892 SONAR-4917 Update technical debt merge model and technical debt decorator to use mybatis classes
Diffstat (limited to 'sonar-ws-client/src/main/java')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/services/ResourceQuery.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/ResourceQuery.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/ResourceQuery.java
index 778840f0236..162c485ca65 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/ResourceQuery.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/ResourceQuery.java
@@ -34,7 +34,6 @@ public class ResourceQuery extends Query<Resource> {
private String[] ruleSeverities;
private String[] characteristicKeys;
private String[] languages;
- private String model;
private boolean excludeRules = true;
private boolean excludeRuleSeverities = true;
private Boolean includeTrends = null;
@@ -78,8 +77,16 @@ public class ResourceQuery extends Query<Resource> {
return this;
}
+ /**
+ * @see #setCharacteristics
+ */
+ @Deprecated
public ResourceQuery setCharacteristicKeys(String model, String... keys) {
- this.model = model;
+ this.characteristicKeys = keys;
+ return this;
+ }
+
+ public ResourceQuery setCharacteristics(String... keys) {
this.characteristicKeys = keys;
return this;
}
@@ -274,7 +281,6 @@ public class ResourceQuery extends Query<Resource> {
appendRuleField(url, "rules", excludeRules, rules);
appendRuleField(url, "rule_priorities", excludeRuleSeverities, ruleSeverities);
appendUrlParameter(url, "includetrends", includeTrends);
- appendUrlParameter(url, "model", model);
appendUrlParameter(url, "characteristics", characteristicKeys);
appendUrlParameter(url, "languages", languages);
appendUrlParameter(url, "verbose", verbose);