You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

WsClient.java 6.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. /*
  2. * SonarQube
  3. * Copyright (C) 2009-2023 SonarSource SA
  4. * mailto:info AT sonarsource DOT com
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 3 of the License, or (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public License
  17. * along with this program; if not, write to the Free Software Foundation,
  18. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  19. */
  20. package org.sonarqube.ws.client;
  21. import javax.annotation.Generated;
  22. import org.sonarqube.ws.client.almintegrations.AlmIntegrationsService;
  23. import org.sonarqube.ws.client.almsettings.AlmSettingsService;
  24. import org.sonarqube.ws.client.analysiscache.AnalysisCacheService;
  25. import org.sonarqube.ws.client.analysisreports.AnalysisReportsService;
  26. import org.sonarqube.ws.client.applications.ApplicationsService;
  27. import org.sonarqube.ws.client.authentication.AuthenticationService;
  28. import org.sonarqube.ws.client.batch.BatchService;
  29. import org.sonarqube.ws.client.ce.CeService;
  30. import org.sonarqube.ws.client.components.ComponentsService;
  31. import org.sonarqube.ws.client.developers.DevelopersService;
  32. import org.sonarqube.ws.client.duplications.DuplicationsService;
  33. import org.sonarqube.ws.client.editions.EditionsService;
  34. import org.sonarqube.ws.client.emails.EmailsService;
  35. import org.sonarqube.ws.client.favorites.FavoritesService;
  36. import org.sonarqube.ws.client.github.provisioning.permissions.GithubPermissionsService;
  37. import org.sonarqube.ws.client.githubprovisioning.GithubProvisioningService;
  38. import org.sonarqube.ws.client.governancereports.GovernanceReportsService;
  39. import org.sonarqube.ws.client.hotspots.HotspotsService;
  40. import org.sonarqube.ws.client.issues.IssuesService;
  41. import org.sonarqube.ws.client.l10n.L10nService;
  42. import org.sonarqube.ws.client.languages.LanguagesService;
  43. import org.sonarqube.ws.client.measures.MeasuresService;
  44. import org.sonarqube.ws.client.metrics.MetricsService;
  45. import org.sonarqube.ws.client.monitoring.MonitoringService;
  46. import org.sonarqube.ws.client.navigation.NavigationService;
  47. import org.sonarqube.ws.client.newcodeperiods.NewCodePeriodsService;
  48. import org.sonarqube.ws.client.notifications.NotificationsService;
  49. import org.sonarqube.ws.client.permissions.PermissionsService;
  50. import org.sonarqube.ws.client.plugins.PluginsService;
  51. import org.sonarqube.ws.client.projectanalyses.ProjectAnalysesService;
  52. import org.sonarqube.ws.client.projectbadges.ProjectBadgesService;
  53. import org.sonarqube.ws.client.projectbranches.ProjectBranchesService;
  54. import org.sonarqube.ws.client.projectdump.ProjectDumpService;
  55. import org.sonarqube.ws.client.projectlinks.ProjectLinksService;
  56. import org.sonarqube.ws.client.projectpullrequests.ProjectPullRequestsService;
  57. import org.sonarqube.ws.client.projects.ProjectsService;
  58. import org.sonarqube.ws.client.projecttags.ProjectTagsService;
  59. import org.sonarqube.ws.client.push.SonarLintServerPushService;
  60. import org.sonarqube.ws.client.qualitygates.QualitygatesService;
  61. import org.sonarqube.ws.client.qualityprofiles.QualityprofilesService;
  62. import org.sonarqube.ws.client.regulatoryreports.RegulatoryReportsService;
  63. import org.sonarqube.ws.client.roots.RootsService;
  64. import org.sonarqube.ws.client.rules.RulesService;
  65. import org.sonarqube.ws.client.securityreports.SecurityReportsService;
  66. import org.sonarqube.ws.client.server.ServerService;
  67. import org.sonarqube.ws.client.settings.SettingsService;
  68. import org.sonarqube.ws.client.sources.SourcesService;
  69. import org.sonarqube.ws.client.support.SupportService;
  70. import org.sonarqube.ws.client.system.SystemService;
  71. import org.sonarqube.ws.client.updatecenter.UpdatecenterService;
  72. import org.sonarqube.ws.client.usergroups.UserGroupsService;
  73. import org.sonarqube.ws.client.users.UsersService;
  74. import org.sonarqube.ws.client.usertokens.UserTokensService;
  75. import org.sonarqube.ws.client.views.ViewsService;
  76. import org.sonarqube.ws.client.webhooks.WebhooksService;
  77. import org.sonarqube.ws.client.webservices.WebservicesService;
  78. /**
  79. * Allows to request the web services of SonarQube server. Instance is provided by
  80. * {@link WsClientFactory}.
  81. *
  82. * <p>
  83. * Usage:
  84. * <pre>
  85. * HttpConnector httpConnector = HttpConnector.newBuilder()
  86. * .url("http://localhost:9000")
  87. * .credentials("admin", "admin")
  88. * .build();
  89. * WsClient wsClient = WsClientFactories.getDefault().newClient(httpConnector);
  90. * wsClient.issues().search(issueRequest);
  91. * </pre>
  92. * </p>
  93. *
  94. * @since 5.3
  95. */
  96. @Generated("https://github.com/SonarSource/sonar-ws-generator")
  97. public interface WsClient {
  98. WsConnector wsConnector();
  99. AlmIntegrationsService almIntegrations();
  100. AlmSettingsService almSettings();
  101. AnalysisCacheService analysisCache();
  102. AnalysisReportsService analysisReports();
  103. ApplicationsService applications();
  104. AuthenticationService authentication();
  105. CeService ce();
  106. ComponentsService components();
  107. DevelopersService developers();
  108. DuplicationsService duplications();
  109. EditionsService editions();
  110. EmailsService emails();
  111. FavoritesService favorites();
  112. GithubPermissionsService githubPermissionsService();
  113. GovernanceReportsService governanceReports();
  114. HotspotsService hotspots();
  115. IssuesService issues();
  116. L10nService l10n();
  117. LanguagesService languages();
  118. MeasuresService measures();
  119. MetricsService metrics();
  120. NavigationService navigation();
  121. NewCodePeriodsService newCodePeriods();
  122. NotificationsService notifications();
  123. PermissionsService permissions();
  124. PluginsService plugins();
  125. ProjectAnalysesService projectAnalyses();
  126. ProjectBadgesService projectBadges();
  127. ProjectBranchesService projectBranches();
  128. ProjectDumpService projectDump();
  129. ProjectLinksService projectLinks();
  130. ProjectPullRequestsService projectPullRequests();
  131. ProjectTagsService projectTags();
  132. ProjectsService projects();
  133. QualitygatesService qualitygates();
  134. QualityprofilesService qualityprofiles();
  135. RootsService roots();
  136. RulesService rules();
  137. ServerService server();
  138. SettingsService settings();
  139. GithubProvisioningService githubProvisioning();
  140. SourcesService sources();
  141. SupportService support();
  142. SystemService system();
  143. UpdatecenterService updatecenter();
  144. UserGroupsService userGroups();
  145. UserTokensService userTokens();
  146. UsersService users();
  147. ViewsService views();
  148. WebhooksService webhooks();
  149. WebservicesService webservices();
  150. BatchService batch();
  151. SecurityReportsService securityReports();
  152. RegulatoryReportsService regulatoryReports();
  153. MonitoringService monitoring();
  154. SonarLintServerPushService sonarLintPush();
  155. }