aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-check-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-03-25 09:31:35 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2013-03-25 09:31:35 +0100
commit782ab5228c92df8a57298f03a953682c6478b11f (patch)
treef771704594fd9db818b2f965ed89d7e115da1261 /sonar-check-api
parent780022dbad0df2a8fbe0bd98ab460b27080791eb (diff)
downloadsonarqube-782ab5228c92df8a57298f03a953682c6478b11f.tar.gz
sonarqube-782ab5228c92df8a57298f03a953682c6478b11f.zip
SONAR-3879 : Add constant for rule status
Diffstat (limited to 'sonar-check-api')
-rw-r--r--sonar-check-api/src/main/java/org/sonar/check/Rule.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-check-api/src/main/java/org/sonar/check/Rule.java b/sonar-check-api/src/main/java/org/sonar/check/Rule.java
index d754f488e4a..ef62eaa66e4 100644
--- a/sonar-check-api/src/main/java/org/sonar/check/Rule.java
+++ b/sonar-check-api/src/main/java/org/sonar/check/Rule.java
@@ -31,6 +31,10 @@ import java.lang.annotation.Target;
@Target(ElementType.TYPE)
public @interface Rule {
+ public static final String STATUS_BETA = "BETA";
+ public static final String STATUS_DEPRECATED = "DEPRECATED";
+ public static final String STATUS_READY = "READY";
+
/**
* The default key is the class name.
*/