diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-01-20 23:25:47 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-01-21 12:10:18 +0100 |
commit | 1414177d9f8a71fdeb524f6720023d36caacc276 (patch) | |
tree | 35ca779fcd6066fcb5204a8b4455b8088aa4465d /sonar-batch-protocol/src/main/java | |
parent | c1f16f9ea23a6cc5b33f68712b6b675c792ee8cd (diff) | |
download | sonarqube-1414177d9f8a71fdeb524f6720023d36caacc276.tar.gz sonarqube-1414177d9f8a71fdeb524f6720023d36caacc276.zip |
SONAR-5960 SONAR-5906 guess author and assignee of new issues
Diffstat (limited to 'sonar-batch-protocol/src/main/java')
-rw-r--r-- | sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/component/ReportComponent.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/component/ReportComponent.java b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/component/ReportComponent.java index 37b64b87e47..37768d82401 100644 --- a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/component/ReportComponent.java +++ b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/component/ReportComponent.java @@ -41,6 +41,7 @@ public class ReportComponent { private int snapshotId; private String path; private String name; + private String uuid; private Type type; // Only for files private Boolean isTest; @@ -84,6 +85,15 @@ public class ReportComponent { return path; } + public ReportComponent setUuid(String s) { + this.uuid = s; + return this; + } + + public String uuid() { + return uuid; + } + public ReportComponent setName(@Nullable String name) { this.name = name; return this; |