use of org.opennms.netmgt.config.reporting.Report in project opennms by OpenNMS.
the class OpennmsReportsTest method getReports.
private static OpennmsReports getReports() {
OpennmsReports reports = new OpennmsReports();
Report report = new Report();
report.setType("pdf");
report.setId("my-report");
report.setLogo("ulf");
reports.addReport(report);
Parameters parms = new Parameters();
report.setParameters(parms);
StringParm sp = new StringParm();
sp.setDisplayName("key");
sp.setInputType("freeText");
sp.setName("k");
sp.setDefault("v");
parms.addStringParm(sp);
return reports;
}
Aggregations