Class AbstractReportAction
java.lang.Object
com.inductiveautomation.reporting.gateway.actions.AbstractReportAction
- Direct Known Subclasses:
- EmailAction,- FtpAction,- PrintAction,- RunScriptAction,- SaveFileReportAction
Filename: AbstractReportAction.java
 Created on Feb 06, 2015
 Author: Kathy Applebaum
 Copyright Inductive Automation 2015
 Project: Reporting
 
When making subclasses of this, be sure to add them to the map in ReportSchedulerTask.java
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractReportAction(GatewayContext context, String projectName, ReportExecutionContext reportContext) 
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidperform(RMDocument report, ReportResource reportResource, AbstractReportActionConfig config, String reportPath, String reportName, Map<String, Object> parameterData) abstract voidperform(RMDocument report, ReportResource reportResource, AbstractReportActionConfig config, String reportPath, String reportName, Map<String, Object> parameterData, Map<String, Object> configData) Called by system.report.executeAndDistribute.
- 
Constructor Details- 
AbstractReportActionpublic AbstractReportAction(GatewayContext context, String projectName, ReportExecutionContext reportContext) 
 
- 
- 
Method Details- 
performpublic abstract void perform(RMDocument report, ReportResource reportResource, AbstractReportActionConfig config, String reportPath, String reportName, Map<String, Object> parameterData) 
- 
performpublic abstract void perform(RMDocument report, ReportResource reportResource, AbstractReportActionConfig config, String reportPath, String reportName, Map<String, Object> parameterData, @Nonnull Map<String, Object> configData) Called by system.report.executeAndDistribute. This parses the configData that applies to this distribution type, updates a distribution config, and calls the other overload of perform.- Parameters:
- report- The RMDocument generated from the report template
- reportResource- The ReportResource
- config- A new blank config of the appropriate type. May be altered by the configData before calling the overload.
- reportPath- Path to the report we want to perform.
- reportName- Name of the report we want to perform.
- parameterData- Optional parameter overrides.
- configData- Optional data to apply to the configuration. Missing values will be left at the default values.
 
 
-