aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
authorDaniel Schwarz <bartfastiel@users.noreply.github.com>2017-03-15 11:40:04 +0100
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2017-03-23 17:38:34 +0100
commita16387722ae93b0130e48da9e9811e9c635a1181 (patch)
tree311bb4d7d30565817ea15a51815c36509309fadf /sonar-ws/src
parent2ce8806251fc2888af38f1acc7b178b80ceefffa (diff)
downloadsonarqube-a16387722ae93b0130e48da9e9811e9c635a1181.tar.gz
sonarqube-a16387722ae93b0130e48da9e9811e9c635a1181.zip
SONAR-8857 make ws/api/qualityprofiles/search support organizations
Diffstat (limited to 'sonar-ws/src')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/SearchWsRequest.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/SearchWsRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/SearchWsRequest.java
index 220c6b1772c..16d82999f07 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/SearchWsRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/SearchWsRequest.java
@@ -23,11 +23,21 @@ import javax.annotation.CheckForNull;
import javax.annotation.Nullable;
public class SearchWsRequest {
+ private String organizationKey;
private boolean defaults;
private String language;
private String profileName;
private String projectKey;
+ public String getOrganizationKey() {
+ return organizationKey;
+ }
+
+ public SearchWsRequest setOrganizationKey(String organizationKey) {
+ this.organizationKey = organizationKey;
+ return this;
+ }
+
public boolean getDefaults() {
return defaults;
}