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.

IssueImpactGroupDto.java 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /*
  2. * SonarQube
  3. * Copyright (C) 2009-2024 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.db.issue;
  21. import javax.annotation.CheckForNull;
  22. import javax.annotation.Nullable;
  23. import org.sonar.api.issue.impact.Severity;
  24. import org.sonar.api.issue.impact.SoftwareQuality;
  25. public class IssueImpactGroupDto {
  26. private String status;
  27. private String resolution;
  28. private SoftwareQuality softwareQuality;
  29. private Severity severity;
  30. private long count;
  31. private boolean inLeak;
  32. public IssueImpactGroupDto() {
  33. // nothing to do
  34. }
  35. public String getStatus() {
  36. return status;
  37. }
  38. public void setStatus(String status) {
  39. this.status = status;
  40. }
  41. @CheckForNull
  42. public String getResolution() {
  43. return resolution;
  44. }
  45. public void setResolution(@Nullable String resolution) {
  46. this.resolution = resolution;
  47. }
  48. public SoftwareQuality getSoftwareQuality() {
  49. return softwareQuality;
  50. }
  51. public void setSoftwareQuality(SoftwareQuality softwareQuality) {
  52. this.softwareQuality = softwareQuality;
  53. }
  54. public Severity getSeverity() {
  55. return severity;
  56. }
  57. public void setSeverity(Severity severity) {
  58. this.severity = severity;
  59. }
  60. public long getCount() {
  61. return count;
  62. }
  63. public void setCount(long count) {
  64. this.count = count;
  65. }
  66. public boolean isInLeak() {
  67. return inLeak;
  68. }
  69. public void setInLeak(boolean inLeak) {
  70. this.inLeak = inLeak;
  71. }
  72. }