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.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. /*
  2. * SonarQube
  3. * Copyright (C) 2009-2022 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.analysisreports.AnalysisReportsService;
  25. import org.sonarqube.ws.client.applications.ApplicationsService;
  26. import org.sonarqube.ws.client.authentication.AuthenticationService;
  27. import org.sonarqube.ws.client.batch.BatchService;
  28. import org.sonarqube.ws.client.ce.CeService;
  29. import org.sonarqube.ws.client.components.ComponentsService;
  30. import org.sonarqube.ws.client.developers.DevelopersService;
  31. import org.sonarqube.ws.client.duplications.DuplicationsService;
  32. import org.sonarqube.ws.client.editions.EditionsService;
  33. import org.sonarqube.ws.client.emails.EmailsService;
  34. import org.sonarqube.ws.client.favorites.FavoritesService;
  35. import org.sonarqube.ws.client.governancereports.GovernanceReportsService;
  36. import org.sonarqube.ws.client.hotspots.HotspotsService;
  37. import org.sonarqube.ws.client.issues.IssuesService;
  38. import org.sonarqube.ws.client.l10n.L10nService;
  39. import org.sonarqube.ws.client.languages.LanguagesService;
  40. import org.sonarqube.ws.client.measures.MeasuresService;
  41. import org.sonarqube.ws.client.metrics.MetricsService;
  42. import org.sonarqube.ws.client.monitoring.MonitoringService;
  43. import org.sonarqube.ws.client.navigation.NavigationService;
  44. import org.sonarqube.ws.client.newcodeperiods.NewCodePeriodsService;
  45. import org.sonarqube.ws.client.notifications.NotificationsService;
  46. import org.sonarqube.ws.client.permissions.PermissionsService;
  47. import org.sonarqube.ws.client.plugins.PluginsService;
  48. import org.sonarqube.ws.client.projectanalyses.ProjectAnalysesService;
  49. import org.sonarqube.ws.client.projectbadges.ProjectBadgesService;
  50. import org.sonarqube.ws.client.projectbranches.ProjectBranchesService;
  51. import org.sonarqube.ws.client.projectdump.ProjectDumpService;
  52. import org.sonarqube.ws.client.projectlinks.ProjectLinksService;
  53. import org.sonarqube.ws.client.projectpullrequests.ProjectPullRequestsService;
  54. import org.sonarqube.ws.client.projects.ProjectsService;
  55. import org.sonarqube.ws.client.projecttags.ProjectTagsService;
  56. import org.sonarqube.ws.client.properties.PropertiesService;
  57. import org.sonarqube.ws.client.push.SonarLintServerPushService;
  58. import org.sonarqube.ws.client.qualitygates.QualitygatesService;
  59. import org.sonarqube.ws.client.qualityprofiles.QualityprofilesService;
  60. import org.sonarqube.ws.client.roots.RootsService;
  61. import org.sonarqube.ws.client.rules.RulesService;
  62. import org.sonarqube.ws.client.securityreports.SecurityReportsService;
  63. import org.sonarqube.ws.client.server.ServerService;
  64. import org.sonarqube.ws.client.settings.SettingsService;
  65. import org.sonarqube.ws.client.sources.SourcesService;
  66. import org.sonarqube.ws.client.support.SupportService;
  67. import org.sonarqube.ws.client.system.SystemService;
  68. import org.sonarqube.ws.client.timemachine.TimemachineService;
  69. import org.sonarqube.ws.client.updatecenter.UpdatecenterService;
  70. import org.sonarqube.ws.client.usergroups.UserGroupsService;
  71. import org.sonarqube.ws.client.users.UsersService;
  72. import org.sonarqube.ws.client.usertokens.UserTokensService;
  73. import org.sonarqube.ws.client.views.ViewsService;
  74. import org.sonarqube.ws.client.webhooks.WebhooksService;
  75. import org.sonarqube.ws.client.webservices.WebservicesService;
  76. /**
  77. * Allows to request the web services of SonarQube server. Instance is provided by
  78. * {@link WsClientFactory}.
  79. *
  80. * <p>
  81. * Usage:
  82. * <pre>
  83. * HttpConnector httpConnector = HttpConnector.newBuilder()
  84. * .url("http://localhost:9000")
  85. * .credentials("admin", "admin")
  86. * .build();
  87. * WsClient wsClient = WsClientFactories.getDefault().newClient(httpConnector);
  88. * wsClient.issues().search(issueRequest);
  89. * </pre>
  90. * </p>
  91. *
  92. * @since 5.3
  93. */
  94. @Generated("https://github.com/SonarSource/sonar-ws-generator")
  95. public interface WsClient {
  96. WsConnector wsConnector();
  97. AlmIntegrationsService almIntegrations();
  98. AlmSettingsService almSettings();
  99. AnalysisReportsService analysisReports();
  100. ApplicationsService applications();
  101. AuthenticationService authentication();
  102. CeService ce();
  103. ComponentsService components();
  104. DevelopersService developers();
  105. DuplicationsService duplications();
  106. EditionsService editions();
  107. EmailsService emails();
  108. FavoritesService favorites();
  109. GovernanceReportsService governanceReports();
  110. HotspotsService hotspots();
  111. IssuesService issues();
  112. L10nService l10n();
  113. LanguagesService languages();
  114. MeasuresService measures();
  115. MetricsService metrics();
  116. NavigationService navigation();
  117. NewCodePeriodsService newCodePeriods();
  118. NotificationsService notifications();
  119. PermissionsService permissions();
  120. PluginsService plugins();
  121. ProjectAnalysesService projectAnalyses();
  122. ProjectBadgesService projectBadges();
  123. ProjectBranchesService projectBranches();
  124. ProjectDumpService projectDump();
  125. ProjectLinksService projectLinks();
  126. ProjectPullRequestsService projectPullRequests();
  127. ProjectTagsService projectTags();
  128. ProjectsService projects();
  129. PropertiesService properties();
  130. QualitygatesService qualitygates();
  131. QualityprofilesService qualityprofiles();
  132. RootsService roots();
  133. RulesService rules();
  134. ServerService server();
  135. SettingsService settings();
  136. SourcesService sources();
  137. SupportService support();
  138. SystemService system();
  139. TimemachineService timemachine();
  140. UpdatecenterService updatecenter();
  141. UserGroupsService userGroups();
  142. UserTokensService userTokens();
  143. UsersService users();
  144. ViewsService views();
  145. WebhooksService webhooks();
  146. WebservicesService webservices();
  147. BatchService batch();
  148. SecurityReportsService securityReports();
  149. MonitoringService monitoring();
  150. SonarLintServerPushService sonarLintPush();
  151. }