ho.setPort(port);
}
} else if (PCMKTEST_OP.equals(op)) {
final String index = option.getValue();
if (index != null && !index.isEmpty()) {
application.setAutoTest(new Test(StartTests.Type.PCMK, index.charAt(0)));
}
} else if (DRBDTEST_OP.equals(op)) {
final String index = option.getValue();
if (index != null && !index.isEmpty()) {
application.setAutoTest(new Test(StartTests.Type.DRBD, index.charAt(0)));
}
} else if (VMTEST_OP.equals(op)) {
final String index = option.getValue();
if (index != null && !index.isEmpty()) {
application.setAutoTest(new Test(StartTests.Type.VM, index.charAt(0)));
}
} else if (GUITEST_OP.equals(op)) {
final String index = option.getValue();
if (index != null && !index.isEmpty()) {
application.setAutoTest(new Test(StartTests.Type.GUI, index.charAt(0)));
}
}
}
for (final Map.Entry<String, List<HostOptions>> clusterEntry : clusters.entrySet()) {
final List<HostOptions> hostOptions = clusterEntry.getValue();