diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-04-19 15:57:28 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-04-19 15:58:13 +0200 |
commit | fb93878ddb93674474add6634a09aa7f84d4bb5b (patch) | |
tree | cf3276d717adaff374f614e13ea094b9eaab9788 /sonar-ws-client | |
parent | f1b4f46f597616c0f0a2d285eb1c992d5c417faa (diff) | |
download | sonarqube-fb93878ddb93674474add6634a09aa7f84d4bb5b.tar.gz sonarqube-fb93878ddb93674474add6634a09aa7f84d4bb5b.zip |
SONAR-3755 complete the ability to change issue
Diffstat (limited to 'sonar-ws-client')
-rw-r--r-- | sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueChange.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueChange.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueChange.java index 5179770d966..1e7cfd350a7 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueChange.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueChange.java @@ -70,6 +70,11 @@ public class IssueChange { return this; } + public IssueChange description(String s) { + params.put("newDescription", s); + return this; + } + public IssueChange attribute(String key, @Nullable String value) { if (value == null) { params.put("newAttr[" + key + "]", ""); |