public abstract class ReportGenerator extends Object
Constructor and Description |
---|
ReportGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This method can be used to close the report generator.
|
abstract Report |
generate(ReportContext context,
Map<String,Object> properties)
This method generates a report, based on the supplied definition,
and returns the report contents.
|
void |
init()
This method can be used to initialize the report generator.
|
public void init() throws Exception
Exception
- Failed to initializepublic abstract Report generate(ReportContext context, Map<String,Object> properties) throws Exception
context
- The report generator's contextproperties
- The propertiesException
- Failed to generate reportCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.