IMetricsConfiguration metricsConfig = ConfigurationManager.getMetricsConfiguration();
String id = algorithmNameToID(metricsID);
int thresholds = metricsConfig.getMetricThresholdCount(id);
List<UIThreshold> thresholdList = new ArrayList<UIThreshold>();
for(int i=0;i<thresholds;i++)
thresholdList.add(new UIThreshold(metricsConfig.getMetricThresholdLowValue(id, i),
metricsConfig.getMetricThresholdHighValue(id, i), metricsConfig.getMetricThresholdState(id, i)));
return thresholdList;
}