aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-10-21 10:50:08 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-10-21 15:58:40 +0200
commitf34266f025c3f862c5f1bdf58a0983545334c4ae (patch)
treec9a3e4982e480909b0bfff9cdfd97ed4c83ddb9d /sonar-ws
parentc004eacf334304b7a850185fe2cc4d6d521506b0 (diff)
downloadsonarqube-f34266f025c3f862c5f1bdf58a0983545334c4ae.tar.gz
sonarqube-f34266f025c3f862c5f1bdf58a0983545334c4ae.zip
SONAR-8278 Support organizations in web service api/permissions/search_templates
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/permission/SearchTemplatesWsRequest.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/SearchTemplatesWsRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/SearchTemplatesWsRequest.java
index 92494039cd0..faa9c5f150e 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/SearchTemplatesWsRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/SearchTemplatesWsRequest.java
@@ -24,6 +24,7 @@ import javax.annotation.Nullable;
public class SearchTemplatesWsRequest {
private String query;
+ private String organizationUuid;
@CheckForNull
public String getQuery() {
@@ -34,4 +35,13 @@ public class SearchTemplatesWsRequest {
this.query = query;
return this;
}
+
+ public String getOrganizationUuid() {
+ return organizationUuid;
+ }
+
+ public SearchTemplatesWsRequest setOrganizationUuid(String s) {
+ this.organizationUuid = s;
+ return this;
+ }
}