List condErrs = isConfigValidWithTranslator(cev, translatorStr, getConditionExpressions());
List missingNames = new ArrayList();
/*
* check group and area names for existence
*/
ModuleConfiguration mc = getModuleConfiguration();
String areaStr = (String) mc.get(CONFIG_AREANAME);
String nodeId = getIdent();
if (areaStr != null) {
String[] areas = areaStr.split(",");
for (int i = 0; i < areas.length; i++) {
String trimmed = areas[i] != null ? areas[i].trim() : areas[i];
if (!trimmed.equals("") && !cev.existsArea(trimmed)) {
StatusDescription sd = new StatusDescription(StatusDescription.WARNING, "error.notfound.name", "solution.checkgroupmanagement",
new String[] { "NONE", trimmed }, translatorStr);
sd.setDescriptionForUnit(nodeId);
missingNames.add(sd);
}
}
}
String groupStr = (String) mc.get(CONFIG_GROUPNAME);
if (groupStr != null) {
String[] groups = groupStr.split(",");
for (int i = 0; i < groups.length; i++) {
String trimmed = groups[i] != null ? groups[i].trim() : groups[i];
if (!trimmed.equals("") && !cev.existsGroup(trimmed)) {