From: Julien Lancelot Date: Wed, 6 Mar 2019 16:44:20 +0000 (+0100) Subject: Remove deprecated stuff in applications ITs X-Git-Tag: 7.7~63 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=26e80da26fa2f4b27609456db9f4c7fdc277b101;p=sonarqube.git Remove deprecated stuff in applications ITs --- diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/applications/CreateBranchRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/applications/CreateBranchRequest.java index 3dbb7d7e9d4..5eaa63f7edd 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/applications/CreateBranchRequest.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/applications/CreateBranchRequest.java @@ -19,6 +19,7 @@ */ package org.sonarqube.ws.client.applications; +import java.util.List; import javax.annotation.Generated; /** @@ -32,8 +33,8 @@ public class CreateBranchRequest { private String application; private String branch; - private String project; - private String projectBranch; + private List projects; + private List projectBranches; /** * This is a mandatory parameter. @@ -63,25 +64,25 @@ public class CreateBranchRequest { * This is a mandatory parameter. * Example value: "project=firstProjectKey&project=secondProjectKey&project=thirdProjectKey" */ - public CreateBranchRequest setProject(String project) { - this.project = project; + public CreateBranchRequest setProject(List projects) { + this.projects = projects; return this; } - public String getProject() { - return project; + public List getProject() { + return projects; } /** * This is a mandatory parameter. * Example value: "projectBranch=&projectBranch=branch-2.0&projectBranch=branch-2.1" */ - public CreateBranchRequest setProjectBranch(String projectBranch) { - this.projectBranch = projectBranch; + public CreateBranchRequest setProjectBranch(List projectBranches) { + this.projectBranches = projectBranches; return this; } - public String getProjectBranch() { - return projectBranch; + public List getProjectBranch() { + return projectBranches; } } diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/applications/UpdateBranchRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/applications/UpdateBranchRequest.java index fbdb9d6047a..b6f80a1f8fa 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/applications/UpdateBranchRequest.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/applications/UpdateBranchRequest.java @@ -19,6 +19,7 @@ */ package org.sonarqube.ws.client.applications; +import java.util.List; import javax.annotation.Generated; /** @@ -33,8 +34,8 @@ public class UpdateBranchRequest { private String application; private String branch; private String name; - private String project; - private String projectBranch; + private List projects; + private List projectBranches; /** * This is a mandatory parameter. @@ -78,25 +79,25 @@ public class UpdateBranchRequest { * This is a mandatory parameter. * Example value: "project=firstProjectKey&project=secondProjectKey&project=thirdProjectKey" */ - public UpdateBranchRequest setProject(String project) { - this.project = project; + public UpdateBranchRequest setProject(List projects) { + this.projects = projects; return this; } - public String getProject() { - return project; + public List getProject() { + return projects; } /** * This is a mandatory parameter. * Example value: "projectBranch=&projectBranch=branch-2.0&projectBranch=branch-2.1" */ - public UpdateBranchRequest setProjectBranch(String projectBranch) { - this.projectBranch = projectBranch; + public UpdateBranchRequest setProjectBranch(List projectBranches) { + this.projectBranches = projectBranches; return this; } - public String getProjectBranch() { - return projectBranch; + public List getProjectBranch() { + return projectBranches; } }