aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-06-05 16:46:49 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-06-05 16:47:00 +0200
commitb255c1bfdd0db9fb643bbd2e3cc404bcf2bf66bb (patch)
tree3c76a80c1e61701c356629852d409a7f9db85549
parenteae9d031f52a7ece4bc6a5a6e554aeb1a6ff1ca3 (diff)
downloadsonarqube-b255c1bfdd0db9fb643bbd2e3cc404bcf2bf66bb.tar.gz
sonarqube-b255c1bfdd0db9fb643bbd2e3cc404bcf2bf66bb.zip
SONAR-3755 add javadoc to issue API
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
index 527fccd84bf..982ed14ff94 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
@@ -67,10 +67,17 @@ public interface Issue extends Serializable {
*/
String key();
+ /**
+ * Components are modules ("my_project"), directories ("my_project:my/dir") or files ("my_project:my/file.c").
+ * Keys of Java packages and classes are currently in a special format: "my_project:com.company" and "my_project:com.company.Foo".
+ */
String componentKey();
RuleKey ruleKey();
+ /**
+ * See constants in {@link org.sonar.api.rule.Severity}.
+ */
String severity();
@CheckForNull