aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-06-26 16:41:27 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-06-26 16:41:27 +0200
commit836d74fa7ed14ae7557463d126c729905fa51bf2 (patch)
tree4c7aa9caed38ca8260cf62a5846984d385110217 /sonar-plugin-api/src
parent99c310b8b19835af796df48d03c55a3589ffeedb (diff)
downloadsonarqube-836d74fa7ed14ae7557463d126c729905fa51bf2.tar.gz
sonarqube-836d74fa7ed14ae7557463d126c729905fa51bf2.zip
SONAR-5407 Add characteristic name in Rule show WS
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtCharacteristic.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtCharacteristic.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtCharacteristic.java
index c8e428213a0..205dca4af46 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtCharacteristic.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtCharacteristic.java
@@ -27,6 +27,11 @@ import javax.annotation.CheckForNull;
*/
public interface DebtCharacteristic {
+ /**
+ * Only used when a characteristic is disabled (id is -1 in dto) by the user. see {@link org.sonar.server.rule.index.RuleNormalizer}
+ */
+ static String NONE = "NONE";
+
String key();
String name();