aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-check-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-02-12 14:44:48 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-02-12 14:45:02 +0100
commit3a2d0c38f6e3f19f1e44da09a9a028d9b93143f3 (patch)
tree530e793261e6282ec98d29045a86a01c1e30bf60 /sonar-check-api
parent30c55c32bf121b15c4d017a4a8bc854787374bdf (diff)
downloadsonarqube-3a2d0c38f6e3f19f1e44da09a9a028d9b93143f3.tar.gz
sonarqube-3a2d0c38f6e3f19f1e44da09a9a028d9b93143f3.zip
SONAR-4908 support tags in sonar-check-api and in standard XML format
Diffstat (limited to 'sonar-check-api')
-rw-r--r--sonar-check-api/src/main/java/org/sonar/check/Rule.java10
1 files changed, 8 insertions, 2 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 5da530f5aa8..250cb5b51d4 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
@@ -42,12 +42,12 @@ public @interface Rule {
String name() default "";
/**
- * The description, optional.
+ * HTML description
*/
String description() default "";
/**
- * Default priority.
+ * Default severity used when activating the rule in a Quality profile.
*/
Priority priority() default Priority.MAJOR;
@@ -58,4 +58,10 @@ public @interface Rule {
* @since 3.6
*/
String status() default "READY";
+
+ /**
+ * Rule tags
+ * @since 4.2
+ */
+ String[] tags() default {};
}