aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2017-01-27 09:28:59 +0100
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2017-01-30 14:53:24 +0100
commit1667ff43142ce1dedcf716f62734bf64264349d1 (patch)
tree6d6290b72268193945538417bd7e36f3c00d2040 /sonar-ws/src/main
parent7a1e3ddaf9765e51e48bd1fc454ffb33b0cbde06 (diff)
downloadsonarqube-1667ff43142ce1dedcf716f62734bf64264349d1.tar.gz
sonarqube-1667ff43142ce1dedcf716f62734bf64264349d1.zip
SONAR-8648 add organization parameter to api/components/search
Diffstat (limited to 'sonar-ws/src/main')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/component/SearchWsRequest.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/component/SearchWsRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/component/SearchWsRequest.java
index 80d5acb65cb..00910b0366d 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/component/SearchWsRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/component/SearchWsRequest.java
@@ -26,12 +26,22 @@ import javax.annotation.Nullable;
import static java.util.Objects.requireNonNull;
public class SearchWsRequest {
+ private String organization;
private List<String> qualifiers;
private Integer page;
private Integer pageSize;
private String query;
private String language;
+ public String getOrganization() {
+ return organization;
+ }
+
+ public SearchWsRequest setOrganization(String organization) {
+ this.organization = organization;
+ return this;
+ }
+
public List<String> getQualifiers() {
return qualifiers;
}