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-2019 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.analysisreports.AnalysisReportsService;
  23. import org.sonarqube.ws.client.applications.ApplicationsService;
  24. import org.sonarqube.ws.client.authentication.AuthenticationService;
  25. import org.sonarqube.ws.client.batch.BatchService;
  26. import org.sonarqube.ws.client.ce.CeService;
  27. import org.sonarqube.ws.client.components.ComponentsService;
  28. import org.sonarqube.ws.client.custommeasures.CustomMeasuresService;
  29. import org.sonarqube.ws.client.developers.DevelopersService;
  30. import org.sonarqube.ws.client.duplications.DuplicationsService;
  31. import org.sonarqube.ws.client.editions.EditionsService;
  32. import org.sonarqube.ws.client.emails.EmailsService;
  33. import org.sonarqube.ws.client.favorites.FavoritesService;
  34. import org.sonarqube.ws.client.favourites.FavouritesService;
  35. import org.sonarqube.ws.client.governancereports.GovernanceReportsService;
  36. import org.sonarqube.ws.client.issues.IssuesService;
  37. import org.sonarqube.ws.client.l10n.L10nService;
  38. import org.sonarqube.ws.client.languages.LanguagesService;
  39. import org.sonarqube.ws.client.measures.MeasuresService;
  40. import org.sonarqube.ws.client.metrics.MetricsService;
  41. import org.sonarqube.ws.client.navigation.NavigationService;
  42. import org.sonarqube.ws.client.notifications.NotificationsService;
  43. import org.sonarqube.ws.client.organizations.OrganizationsService;
  44. import org.sonarqube.ws.client.permissions.PermissionsService;
  45. import org.sonarqube.ws.client.plugins.PluginsService;
  46. import org.sonarqube.ws.client.profiles.ProfilesService;
  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.resources.ResourcesService;
  59. import org.sonarqube.ws.client.roots.RootsService;
  60. import org.sonarqube.ws.client.rules.RulesService;
  61. import org.sonarqube.ws.client.securityreports.SecurityReportsService;
  62. import org.sonarqube.ws.client.server.ServerService;
  63. import org.sonarqube.ws.client.settings.SettingsService;
  64. import org.sonarqube.ws.client.sources.SourcesService;
  65. import org.sonarqube.ws.client.support.SupportService;
  66. import org.sonarqube.ws.client.system.SystemService;
  67. import org.sonarqube.ws.client.timemachine.TimemachineService;
  68. import org.sonarqube.ws.client.updatecenter.UpdatecenterService;
  69. import org.sonarqube.ws.client.usergroups.UserGroupsService;
  70. import org.sonarqube.ws.client.userproperties.UserPropertiesService;
  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. AnalysisReportsService analysisReports();
  98. ApplicationsService applications();
  99. AuthenticationService authentication();
  100. CeService ce();
  101. ComponentsService components();
  102. CustomMeasuresService customMeasures();
  103. DevelopersService developers();
  104. DuplicationsService duplications();
  105. EditionsService editions();
  106. EmailsService emails();
  107. FavoritesService favorites();
  108. FavouritesService favourites();
  109. GovernanceReportsService governanceReports();
  110. IssuesService issues();
  111. L10nService l10n();
  112. LanguagesService languages();
  113. MeasuresService measures();
  114. MetricsService metrics();
  115. NavigationService navigation();
  116. NotificationsService notifications();
  117. OrganizationsService organizations();
  118. PermissionsService permissions();
  119. PluginsService plugins();
  120. ProfilesService profiles();
  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. ResourcesService resources();
  133. RootsService roots();
  134. RulesService rules();
  135. ServerService server();
  136. SettingsService settings();
  137. SourcesService sources();
  138. SupportService support();
  139. SystemService system();
  140. TimemachineService timemachine();
  141. UpdatecenterService updatecenter();
  142. UserGroupsService userGroups();
  143. UserPropertiesService userProperties();
  144. UserTokensService userTokens();
  145. UsersService users();
  146. ViewsService views();
  147. WebhooksService webhooks();
  148. WebservicesService webservices();
  149. BatchService batch();
  150. SecurityReportsService securityReports();
  151. }