use of org.opennms.xmlns.xsd.config.jmx_datacollection.Rrd in project opennms by OpenNMS.
the class JmxCollectionCloner method clone.
/**
* Clones a Rrd object. Makes a deep copy!
*
* @param input
* @return
*/
private static Rrd clone(Rrd input) {
Rrd output = new Rrd();
output.setStep(input.getStep());
output.getRra().addAll(input.getRra());
return output;
}
Aggregations