return StatusAction.OFF;
}
}
Iterator<ColorIndicator> ciIterator = indicatorXMLConfig.getAction().iterator();
while (ciIterator.hasNext()) {
ColorIndicator ci = ciIterator.next();
String condition = ci.getCondition();
if (condition.equalsIgnoreCase("default")) {
String indicate = ci.getIndicate();
return StatusAction.get(indicate);
} else {
// obtains the list of BuildStatus objects from their string representations
// that are used to match a certain "action" to indicate
List<BuildStatus> expStati = getBuildStatusListFromStrings(ci.getStatus());
if (checkCondition(ci.getCondition(), expStati, result)) {
String indicate = ci.getIndicate();
return StatusAction.get(indicate);
}
}
}
} catch (Exception ex) {