errorStrategy.getActuatorsErrorStrategy(),
errorStrategy.getSensorsErrorStrategy(),
errorStrategy.getTimebasesErrorStrategy(),
errorStrategy.getHooksErrorStrategy() };
String cat = null;
IErrorStrategyItem item = null;
for (int i = 0; i < categoriesStr.length; i++) {
cat = categoriesStr[i];
item = categoriesESI[i];
double timeOut = CurrentConfigurationParser.readTimeOut(scanServer, cat);
int retryCount = CurrentConfigurationParser.readRetryCount(scanServer, cat);
double retryTimeOut = CurrentConfigurationParser.readRetryTimeOut(scanServer, cat);
int strategy = CurrentConfigurationParser.readErrorStrategy(scanServer, cat);
item.setTimeOut(timeOut);
item.setRetryCount(retryCount);
item.setTimeBetweenRetries(retryTimeOut);
item.setStrategy(getErrorStrategyType(strategy));
}
}
// System.out.println("newConfig=" + newConfig);
return newConfig;
}