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.

PropertyType.java 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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.sonar.api;
  21. /**
  22. * @since 3.0
  23. */
  24. public enum PropertyType {
  25. /**
  26. * Basic single line input field
  27. */
  28. STRING,
  29. /**
  30. * Multiple line text-area
  31. */
  32. TEXT,
  33. /**
  34. * Variation of {#STRING} with masked characters
  35. */
  36. PASSWORD,
  37. /**
  38. * True/False
  39. */
  40. BOOLEAN,
  41. /**
  42. * Integer value, positive or negative
  43. */
  44. INTEGER,
  45. /**
  46. * Floating point number
  47. */
  48. FLOAT,
  49. /**
  50. * Single select list with a list of options
  51. */
  52. SINGLE_SELECT_LIST,
  53. /**
  54. * Sonar Metric
  55. *
  56. * @deprecated since 6.3, this type is useless as Dashboards have been removed
  57. */
  58. @Deprecated
  59. METRIC,
  60. /**
  61. * SonarSource license
  62. * @deprecated in 6.7.
  63. */
  64. @Deprecated
  65. LICENSE,
  66. /**
  67. * Regular expression
  68. *
  69. * @since 3.2
  70. */
  71. REGULAR_EXPRESSION,
  72. /**
  73. * Property set instance
  74. *
  75. * @since 3.3
  76. */
  77. PROPERTY_SET,
  78. /**
  79. * User login
  80. * @since 5.1
  81. */
  82. USER_LOGIN,
  83. /**
  84. * Level metric type
  85. *
  86. * @deprecated since 6.3, this type is useless as Dashboards have been removed
  87. */
  88. @Deprecated
  89. METRIC_LEVEL,
  90. /**
  91. * Long value, positive or negative
  92. *
  93. * @deprecated since 6.3, this type is useless as Dashboards have been removed
  94. */
  95. @Deprecated
  96. LONG
  97. }