Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

IssueWsModule.java 3.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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.sonar.server.issue.ws;
  21. import org.sonar.core.platform.Module;
  22. import org.sonar.server.common.avatar.AvatarResolverImpl;
  23. import org.sonar.server.issue.IssueChangeWSSupport;
  24. import org.sonar.server.issue.IssueFieldsSetter;
  25. import org.sonar.server.issue.IssueFinder;
  26. import org.sonar.server.issue.NewCodePeriodResolver;
  27. import org.sonar.server.issue.TaintChecker;
  28. import org.sonar.server.issue.TextRangeResponseFormatter;
  29. import org.sonar.server.issue.TransitionService;
  30. import org.sonar.server.issue.WebIssueStorage;
  31. import org.sonar.server.issue.index.IssueQueryFactory;
  32. import org.sonar.server.issue.workflow.FunctionExecutor;
  33. import org.sonar.server.issue.workflow.IssueWorkflow;
  34. import org.sonar.server.issue.ws.pull.PullActionProtobufObjectGenerator;
  35. import org.sonar.server.issue.ws.pull.PullActionResponseWriter;
  36. import org.sonar.server.issue.ws.pull.PullTaintActionProtobufObjectGenerator;
  37. import org.sonar.server.qualitygate.changeevent.QGChangeEventListenersImpl;
  38. public class IssueWsModule extends Module {
  39. @Override
  40. protected void configureModule() {
  41. add(
  42. IssueUpdater.class,
  43. IssueFinder.class,
  44. TransitionService.class,
  45. WebIssueStorage.class,
  46. IssueFieldsSetter.class,
  47. FunctionExecutor.class,
  48. IssueWorkflow.class,
  49. IssueQueryFactory.class,
  50. IssuesWs.class,
  51. AvatarResolverImpl.class,
  52. IssueChangeWSSupport.class,
  53. SearchResponseLoader.class,
  54. TextRangeResponseFormatter.class,
  55. UserResponseFormatter.class,
  56. SearchResponseFormat.class,
  57. OperationResponseWriter.class,
  58. NewCodePeriodResolver.class,
  59. AddCommentAction.class,
  60. EditCommentAction.class,
  61. DeleteCommentAction.class,
  62. AssignAction.class,
  63. DoTransitionAction.class,
  64. SearchAction.class,
  65. ListAction.class,
  66. SetSeverityAction.class,
  67. TagsAction.class,
  68. SetTagsAction.class,
  69. SetTypeAction.class,
  70. ComponentTagsAction.class,
  71. ReindexAction.class,
  72. AuthorsAction.class,
  73. ChangelogAction.class,
  74. BulkChangeAction.class,
  75. QGChangeEventListenersImpl.class,
  76. TaintChecker.class,
  77. PullAction.class,
  78. PullTaintAction.class,
  79. PullActionResponseWriter.class,
  80. PullActionProtobufObjectGenerator.class,
  81. PullTaintActionProtobufObjectGenerator.class);
  82. }
  83. }