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

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