aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-05-03 00:02:45 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-05-03 00:02:45 +0200
commita1a1cd56cf3464200911a8c0dbef3ed25563aa6a (patch)
tree4e62793cab6a0d89de8457d68570977ea27f674d /sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
parent1dbff7660b5957d1dc346f7e1da60be8d6ee6da6 (diff)
downloadsonarqube-a1a1cd56cf3464200911a8c0dbef3ed25563aa6a.tar.gz
sonarqube-a1a1cd56cf3464200911a8c0dbef3ed25563aa6a.zip
SONAR-3755 refactor issue dates
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java14
1 files changed, 11 insertions, 3 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 fca69d8d0e0..775e919c599 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
@@ -21,6 +21,7 @@ package org.sonar.api.issue;
import org.sonar.api.rule.RuleKey;
+import javax.annotation.CheckForNull;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
@@ -53,30 +54,37 @@ public interface Issue extends Serializable {
String description();
+ @CheckForNull
Integer line();
+ @CheckForNull
Double cost();
String status();
String resolution();
+ @CheckForNull
String userLogin();
+ @CheckForNull
String assignee();
boolean manual();
- Date createdAt();
+ Date creationDate();
- Date updatedAt();
+ Date updateDate();
- Date closedAt();
+ @CheckForNull
+ Date closeDate();
+ @CheckForNull
String attribute(String key);
Map<String, String> attributes();
+ @CheckForNull
String authorLogin();
}