diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-08-06 14:38:53 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-08-12 16:12:50 +0200 |
commit | da0e7d2eb596eeed136301cdaa38523ff8c86d54 (patch) | |
tree | 4e0dcbc4ea5ab12f48c9f807319cef76977b0d8f /sonar-batch-protocol | |
parent | 4dc9282453526c25504570caae011283b053ed98 (diff) | |
download | sonarqube-da0e7d2eb596eeed136301cdaa38523ff8c86d54.tar.gz sonarqube-da0e7d2eb596eeed136301cdaa38523ff8c86d54.zip |
SONAR-6777 Project cache sync
Diffstat (limited to 'sonar-batch-protocol')
-rw-r--r-- | sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/input/ProjectRepositories.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/input/ProjectRepositories.java b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/input/ProjectRepositories.java index 9cff3783ede..8e59ccd1be7 100644 --- a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/input/ProjectRepositories.java +++ b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/input/ProjectRepositories.java @@ -74,6 +74,10 @@ public class ProjectRepositories { return this; } + public Map<String, Map<String, FileData>> fileDataByModuleAndPath() { + return fileDataByModuleAndPath; + } + public Map<String, FileData> fileDataByPath(String moduleKey) { return fileDataByModuleAndPath.containsKey(moduleKey) ? fileDataByModuleAndPath.get(moduleKey) : Collections.<String, FileData>emptyMap(); } |