return Collections.unmodifiableMap(servers);
}
}
private void synchronizeDeployments() {
DomainModel domainConfig = getDomainModel();
Set<String> serverGroupNames = domainConfig.getServerGroupNames();
for (ServerElement server : getHostModel().getServers()) {
String serverGroupName = server.getServerGroup();
if (serverGroupNames.remove(serverGroupName)) {
for (ServerGroupDeploymentElement deployment : domainConfig.getServerGroup(serverGroupName).getDeployments()) {
// Force a sync
remoteBackedRepository.getDeploymentFiles(deployment.getSha1Hash());
}
}
}