format = "PDF";
} else {
format = "HTML";
}
ReportFormat reportFormat = parameters.getReportFormat();
try {
return getReport(path, reportFormat, format, params, applicationIdList, request);
} catch (IOException e) {
log.error("IOException encountered while trying to generate report.", e);
return new ReportCheckResultBean(ReportCheckResult.IO_ERROR);