@Test public void testConfigure_HTML() { final ReportFormat reportFormat = ReportFormat.HTML; final Map<String, Object> configure = sut.configure(reportProps, reportFormat, datasource); assertEquals(1, configure.size()); assertEquals(reportFormat.getFormat(), configure.get(JasperReportsMultiFormatView.DEFAULT_FORMAT_KEY)); }
@Override public Map<String, Object> configure(ReportProps reportProps, ReportFormat reportFormat, JRDataSource datasource) { final Map<String, Object> parameters = newMap(); parameters.put(JasperReportsMultiFormatView.DEFAULT_FORMAT_KEY, reportFormat.getFormat()); return parameters; }
SetExportFormatTask implements ReportParameterConfigurerTask { @Override public Map<String, Object> configure(ReportProps reportProps, ReportFormat reportFormat, JRDataSource datasource) { final Map<String, Object> parameters = newMap(); parameters.put(JasperReportsMultiFormatView.DEFAULT_FORMAT_KEY, reportFormat.getFormat()); return parameters; } }
SetExportFormatTask implements ReportParameterConfigurerTask { @Override public Map<String, Object> configure(ReportProps reportProps, ReportFormat reportFormat, JRDataSource datasource) { final Map<String, Object> parameters = newMap(); parameters.put(JasperReportsMultiFormatView.DEFAULT_FORMAT_KEY, reportFormat.getFormat()); return parameters; }  }
SetExportFormatTask implements ReportParameterConfigurerTask { @Override public Map<String, Object> configure(ReportProps reportProps, ReportFormat reportFormat, JRDataSource datasource) { final Map<String, Object> parameters = newMap(); parameters.put(JasperReportsMultiFormatView.DEFAULT_FORMAT_KEY, reportFormat.getFormat()); return parameters; }  @Override Map<String, Object> configure(ReportProps reportProps,
			ReportFormat reportFormat, JRDataSource datasource); }
SetExportFormatTask implements ReportParameterConfigurerTask { @Override public Map<String, Object> configure(ReportProps reportProps, ReportFormat reportFormat, JRDataSource datasource) { final Map<String, Object> parameters = newMap(); parameters.put(JasperReportsMultiFormatView.DEFAULT_FORMAT_KEY, reportFormat.getFormat()); return parameters; }  @Override Map<String, Object> configure(ReportProps reportProps,
			ReportFormat reportFormat, JRDataSource datasource);  }