public class MVELReportGenerator extends ReportGenerator
| Constructor and Description |
|---|
MVELReportGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Report |
generate(ReportContext context,
Map<String,Object> properties)
This method generates a report, based on the supplied definition,
and returns the report contents.
|
Class<? extends ReportDefinition> |
getReportDefinitionType() |
String |
getReportType() |
String |
getScriptLocation()
This method returns the script location.
|
void |
init()
This method can be used to initialize the report generator.
|
void |
setScriptLocation(String location)
This method sets the script location.
|
closepublic void init()
throws Exception
init in class ReportGeneratorException - Failed to initializepublic String getScriptLocation()
public void setScriptLocation(String location)
location - The script locationpublic String getReportType()
public Class<? extends ReportDefinition> getReportDefinitionType()
public Report generate(ReportContext context, Map<String,Object> properties) throws Exception
generate in class ReportGeneratorcontext - The report generator's contextproperties - The propertiesException - Failed to generate reportCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.