/** * * This is part of the internal API. * This is a POST request. * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/ce/submit">Further information about this action online (including a response example)</a> * @since 5.2 */ public SubmitResponse submit(SubmitRequest request) { return call( new PostRequest(path("submit")) .setParam("characteristic", request.getCharacteristic()) .setParam("organization", request.getOrganization()) .setParam("projectBranch", request.getProjectBranch()) .setParam("projectKey", request.getProjectKey()) .setParam("projectName", request.getProjectName()) .setParam("report", request.getReport()), SubmitResponse.parser()); }
/** * * This is part of the internal API. * This is a POST request. * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/ce/submit">Further information about this action online (including a response example)</a> * @since 5.2 */ public SubmitResponse submit(SubmitRequest request) { return call( new PostRequest(path("submit")) .setParam("characteristic", request.getCharacteristic()) .setParam("organization", request.getOrganization()) .setParam("projectBranch", request.getProjectBranch()) .setParam("projectKey", request.getProjectKey()) .setParam("projectName", request.getProjectName()) .setParam("report", request.getReport()), SubmitResponse.parser()); }