public class Sample1 extends AbstractReportGenerator
AbstractReportGenerator.OutputType
Constructor and Description |
---|
Sample1()
Default constructor for this sample report generator
|
Modifier and Type | Method and Description |
---|---|
org.pentaho.reporting.engine.classic.core.DataFactory |
getDataFactory()
Returns the data factory which will be used to generate the data used during report generation.
|
org.pentaho.reporting.engine.classic.core.MasterReport |
getReportDefinition()
Returns the report definition which will be used to generate the report.
|
Map<String,Object> |
getReportParameters()
Returns the set of runtime report parameters.
|
static void |
main(String[] args)
Simple command line application that will generate a PDF version of the report.
|
generateReport, generateReport
public org.pentaho.reporting.engine.classic.core.MasterReport getReportDefinition()
getReportDefinition
in class AbstractReportGenerator
public org.pentaho.reporting.engine.classic.core.DataFactory getDataFactory()
getDataFactory
in class AbstractReportGenerator
public Map<String,Object> getReportParameters()
getReportParameters
in class AbstractReportGenerator
null
indicating the report generator does not use any report parameterspublic static void main(String[] args) throws IOException, org.pentaho.reporting.engine.classic.core.ReportProcessingException
SimpleReportGeneratorExample.pdf
.args
- noneIOException
- indicates an error writing to the filesystemorg.pentaho.reporting.engine.classic.core.ReportProcessingException
- indicates an error generating the report