aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/main/java/org/sonar/api/issue/IssueHandler.java
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-08-09 11:40:12 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-08-09 11:40:12 +0200
commitb9ecdcaecb29b4fa15e7318a5a700da60b637987 (patch)
tree5da2686b880ee440ab0929071e8439db5d417d42 /sonar-plugin-api/src/main/java/org/sonar/api/issue/IssueHandler.java
parentc8d4102872968607dd5daf29940be30011b0af6c (diff)
downloadsonarqube-b9ecdcaecb29b4fa15e7318a5a700da60b637987.tar.gz
sonarqube-b9ecdcaecb29b4fa15e7318a5a700da60b637987.zip
SONAR-4375 Improve issue changelog display by returning names instead of keys for users and action plans
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/issue/IssueHandler.java')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/IssueHandler.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/IssueHandler.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/IssueHandler.java
index 12f4a5c3fdd..1a59ccc8fd9 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/IssueHandler.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/IssueHandler.java
@@ -20,6 +20,7 @@
package org.sonar.api.issue;
import org.sonar.api.BatchExtension;
+import org.sonar.api.user.User;
import javax.annotation.Nullable;
@@ -47,8 +48,14 @@ public interface IssueHandler extends BatchExtension {
Context setAttribute(String key, @Nullable String value);
+ /**
+ * @deprecated since 4.0
+ */
+ @Deprecated
Context assign(@Nullable String login);
+ Context assign(@Nullable User user);
+
Context addComment(String text);
}