diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-03-17 18:17:38 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-03-18 09:03:33 +0100 |
commit | 0cdd471479b9243b0e18d754c03d66aa139f6349 (patch) | |
tree | 08517f2f4f20b63eba193eba9f0bb3453fca02fe /sonar-ws | |
parent | ff04804ebed4d2be87431aaa28d3f4b06e619260 (diff) | |
download | sonarqube-0cdd471479b9243b0e18d754c03d66aa139f6349.tar.gz sonarqube-0cdd471479b9243b0e18d754c03d66aa139f6349.zip |
SONAR-7106 WS api/permissions/bulk_apply_template bulk apply permission template
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/permission/BulkApplyTemplateWsRequest.java | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/BulkApplyTemplateWsRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/BulkApplyTemplateWsRequest.java new file mode 100644 index 00000000000..f5271f85787 --- /dev/null +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/permission/BulkApplyTemplateWsRequest.java @@ -0,0 +1,71 @@ +/* + * SonarQube + * Copyright (C) 2009-2016 SonarSource SA + * mailto:contact AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +package org.sonarqube.ws.client.permission; + +import javax.annotation.CheckForNull; +import javax.annotation.Nullable; + +public class BulkApplyTemplateWsRequest { + private String templateId; + private String templateName; + private String query; + private String qualifier; + + @CheckForNull + public String getTemplateId() { + return templateId; + } + + public BulkApplyTemplateWsRequest setTemplateId(@Nullable String templateId) { + this.templateId = templateId; + return this; + } + + @CheckForNull + public String getTemplateName() { + return templateName; + } + + public BulkApplyTemplateWsRequest setTemplateName(@Nullable String templateName) { + this.templateName = templateName; + return this; + } + + @CheckForNull + public String getQuery() { + return query; + } + + public BulkApplyTemplateWsRequest setQuery(@Nullable String query) { + this.query = query; + return this; + } + + @CheckForNull + public String getQualifier() { + return qualifier; + } + + public BulkApplyTemplateWsRequest setQualifier(@Nullable String qualifier) { + this.qualifier = qualifier; + return this; + } +} |