aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/main/java/org/sonar
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-02-07 16:02:18 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-02-07 16:02:28 +0100
commit3d8d06e4dda4d2c6ad9da65b323ccf67d8e76b4f (patch)
tree4db86731cba21a2567c359fe1ff83271c6446d52 /sonar-ws-client/src/main/java/org/sonar
parentb7537d53412142416cfc314d3acf0e2b85dad0fe (diff)
downloadsonarqube-3d8d06e4dda4d2c6ad9da65b323ccf67d8e76b4f.tar.gz
sonarqube-3d8d06e4dda4d2c6ad9da65b323ccf67d8e76b4f.zip
Add a parameter 'hideRules' on the Issues search search in order to not return rules
Diffstat (limited to 'sonar-ws-client/src/main/java/org/sonar')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueQuery.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueQuery.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueQuery.java
index 23f200f6053..affb381ea8a 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueQuery.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueQuery.java
@@ -102,6 +102,14 @@ public class IssueQuery {
}
/**
+ * @since 4.2
+ */
+ public IssueQuery hideRules(Boolean hideRules) {
+ params.put("hideRules", hideRules);
+ return this;
+ }
+
+ /**
* Require second precision.
* @since 3.7
*/