Package com.axelor.report
Interface ReportConfigurer
- All Known Implementing Classes:
ReportConfigurerImpl
public interface ReportConfigurer
Configures the reports generated by
ReportGenerator.
Use it to apply application-specific behavior (timezone, render options, parameter validation...) to all generated reports.
-
Method Details
-
validate
Validates the report before it is rendered.Throw an exception to abort the report generation.
- Parameters:
report- the opened report designparams- the report parameters
-
configure
void configure(org.eclipse.birt.report.engine.api.IRunAndRenderTask task, org.eclipse.birt.report.engine.api.IRenderOption options, Map<String, Object> params) Configures the task before it is run.The task locale, render option and parameter values are already set. Changing the task locale here overrides the one requested by the caller.
- Parameters:
task- the task to runoptions- the task render optionparams- the report parameters
-