diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-01-26 11:49:53 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-01-26 12:02:52 +0100 |
commit | 31726f323323e836263ded4deaee50ffe320f4d5 (patch) | |
tree | cdea70d9d3b620374b93db8e495e706dd47c6092 /sonar-batch-protocol/src | |
parent | 3de9100729bad1c84ea465e9711ab0e1dbcf362b (diff) | |
download | sonarqube-31726f323323e836263ded4deaee50ffe320f4d5.tar.gz sonarqube-31726f323323e836263ded4deaee50ffe320f4d5.zip |
SONAR-5912 fix notification of issue changes during analysis
Diffstat (limited to 'sonar-batch-protocol/src')
-rw-r--r-- | sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/issue/ReportIssue.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/issue/ReportIssue.java b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/issue/ReportIssue.java index 0de8dd5803e..23d62dbf23a 100644 --- a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/issue/ReportIssue.java +++ b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/issue/ReportIssue.java @@ -54,6 +54,7 @@ public class ReportIssue { private Long selectedAt; private String diffFields; private boolean isChanged; + private boolean mustSendNotification; public ReportIssue setKey(String key) { @@ -286,4 +287,12 @@ public class ReportIssue { return isChanged; } + public ReportIssue setMustSendNotification(boolean mustSendNotification) { + this.mustSendNotification = mustSendNotification; + return this; + } + + public boolean mustSendNotifications() { + return mustSendNotification; + } } |