Class FtpAction
- java.lang.Object
- 
- com.inductiveautomation.reporting.gateway.actions.AbstractReportAction
- 
- com.inductiveautomation.reporting.gateway.actions.FtpAction
 
 
- 
 public class FtpAction extends AbstractReportAction Filename: FtpAction.java Created on Apr 13, 2015 Author: Kathy Applebaum Copyright Inductive Automation 2015 Project: Reporting- Since:
- 7.8.0
 Handles the actual distribution for ftp 
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringAUDIT_FAIL_MSG
 - 
Constructor SummaryConstructors Constructor Description FtpAction(GatewayContext context, java.lang.String projectName, ReportExecutionContext reportContext)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidperform(RMDocument report, ReportResource reportResource, AbstractReportActionConfig config, java.lang.String reportPath, java.lang.String reportName, java.util.Map<java.lang.String,java.lang.Object> reportData)voidperform(RMDocument report, ReportResource reportResource, AbstractReportActionConfig config, java.lang.String reportPath, java.lang.String reportName, java.util.Map<java.lang.String,java.lang.Object> parameterData, java.util.Map<java.lang.String,java.lang.Object> configData)Called by system.report.executeAndDistribute.
 
- 
- 
- 
Field Detail- 
AUDIT_FAIL_MSGpublic static final java.lang.String AUDIT_FAIL_MSG - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
FtpActionpublic FtpAction(GatewayContext context, java.lang.String projectName, ReportExecutionContext reportContext) 
 
- 
 - 
Method Detail- 
performpublic void perform(RMDocument report, ReportResource reportResource, AbstractReportActionConfig config, java.lang.String reportPath, java.lang.String reportName, java.util.Map<java.lang.String,java.lang.Object> reportData) - Specified by:
- performin class- AbstractReportAction
 
 - 
performpublic void perform(RMDocument report, ReportResource reportResource, AbstractReportActionConfig config, java.lang.String reportPath, java.lang.String reportName, java.util.Map<java.lang.String,java.lang.Object> parameterData, java.util.Map<java.lang.String,java.lang.Object> configData) Description copied from class:AbstractReportActionCalled 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.- Specified by:
- performin class- AbstractReportAction
- 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.
 
 
- 
 
-