List<Server> serverLaunchers = (List<Server>) configuration
.get("blacktie.domain.serverLaunchers");
boolean found = false;
Iterator<Server> iterator = serverLaunchers.iterator();
while (iterator.hasNext()) {
Server next = iterator.next();
if (serverName == null || serverName.equals(next.getName())) {
if (serverName != null) {
log.debug("Listing machines for: " + serverName);
} else {
log.debug("Listing machines");
}
List<Machine> localMachinesList = next.getLocalMachine();
if (localMachinesList.size() != 0) {
Iterator<Machine> localMachines = localMachinesList
.iterator();
while (localMachines.hasNext()) {
log.debug("Found machine");