diff options
author | Jean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com> | 2013-08-09 11:40:12 +0200 |
---|---|---|
committer | Jean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com> | 2013-08-09 11:40:12 +0200 |
commit | b9ecdcaecb29b4fa15e7318a5a700da60b637987 (patch) | |
tree | 5da2686b880ee440ab0929071e8439db5d417d42 /sonar-plugin-api/src/main/java/org/sonar/api/issue/IssueHandler.java | |
parent | c8d4102872968607dd5daf29940be30011b0af6c (diff) | |
download | sonarqube-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.java | 7 |
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); } |