"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "moskito-core/src/main/java/net/anotheria/moskito/core/config/dashboards/DashboardConfig.java" between
moskito-moskito-2.8.9.tar.gz and moskito-moskito-2.9.0.tar.gz

About: MoSKito (Monitoring System Kit) is a framework for java application monitoring. Sources.

DashboardConfig.java  (moskito-moskito-2.8.9):DashboardConfig.java  (moskito-moskito-2.9.0)
skipping to change at line 221 skipping to change at line 221
this.patterns = patterns; this.patterns = patterns;
} }
public String[] getWidgets() { public String[] getWidgets() {
return widgets; return widgets;
} }
public void setWidgets(String[] widgets) { public void setWidgets(String[] widgets) {
this.widgets = widgets; this.widgets = widgets;
} }
public boolean containsGauge(String gaugeName) {
return listContainsElement(gauges, gaugeName);
}
public boolean containsChart(String chartName) {
if (charts==null || charts.length==0)
return false;
for (ChartConfig cc : charts){
if (cc.getCaption()!=null && cc.getCaption().equals(chart
Name))
return true;
}
return false;
}
public boolean containsThreshold(String thresholdName) {
return listContainsElement(thresholds, thresholdName);
}
private boolean listContainsElement(String[] list, String name) {
if (list==null || list.length==0)
return false;
for (String e : list){
if (e.equals(name))
return true;
}
return false;
}
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 30 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)