summaryrefslogtreecommitdiffstats
path: root/sonar-batch-protocol
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2015-09-08 15:24:50 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-09-09 11:57:38 +0200
commit4be016e61f4d1e4fed297dd7eb3b3ccb286f0f81 (patch)
tree7ce08a4beef4bf70b6521bdd04e27cc9e2907e92 /sonar-batch-protocol
parent84c39f50d53f7f4a76fcda6c58b6120875501e40 (diff)
downloadsonarqube-4be016e61f4d1e4fed297dd7eb3b3ccb286f0f81.tar.gz
sonarqube-4be016e61f4d1e4fed297dd7eb3b3ccb286f0f81.zip
SONAR-6817 Issues mode should support analysis of projects not associated
Diffstat (limited to 'sonar-batch-protocol')
-rw-r--r--sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/input/ProjectRepositories.java4
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 8e59ccd1be7..862a21152d8 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
@@ -45,6 +45,10 @@ public class ProjectRepositories {
public Map<String, String> settings(String moduleKey) {
return settingsByModule.containsKey(moduleKey) ? settingsByModule.get(moduleKey) : Collections.<String, String>emptyMap();
}
+
+ public Map<String, Map<String, String>> settings() {
+ return settingsByModule;
+ }
public ProjectRepositories addSettings(String moduleKey, Map<String, String> settings) {
Map<String, String> existingSettings = settingsByModule.get(moduleKey);