aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-05-30 18:26:02 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-05-30 18:26:02 +0200
commit997785024dffbc84f9f460a8abe7839317a6d756 (patch)
tree1d52a34faa1597a6ff932af89fbd648db52a2a0e /sonar-plugin-api/src
parentc35a38ea003ecfabccd079a0060d4b4b0e221b3c (diff)
downloadsonarqube-997785024dffbc84f9f460a8abe7839317a6d756.tar.gz
sonarqube-997785024dffbc84f9f460a8abe7839317a6d756.zip
Add Issuable#unresolvedIssues()
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/Issuable.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issuable.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issuable.java
index bd600591619..d5cc74389c9 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issuable.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issuable.java
@@ -56,5 +56,13 @@ public interface Issuable extends Perspective {
*/
boolean addIssue(Issue issue);
+ /**
+ * The issues that are not resolved (=open). They include the manual issues reported by end-users.
+ */
+ List<Issue> unresolvedIssues();
+
+ /**
+ * All issues, even the issues that are resolved or closed during this analysis.
+ */
List<Issue> issues();
}