Class EmailActionConfig
java.lang.Object
com.inductiveautomation.ignition.common.util.AbstractChangeable
com.inductiveautomation.reporting.common.resource.distribution.AbstractReportActionConfig
com.inductiveautomation.reporting.common.resource.distribution.EmailActionConfig
- All Implemented Interfaces:
- Changeable,- Serializable
Filename: EmailActionConfig.java
 Created on Feb 09, 2015
 Author: Kathy Applebaum
 Copyright Inductive Automation 2015
 Project: Reporting
- See Also:
- 
Field SummaryFields inherited from class com.inductiveautomation.reporting.common.resource.distribution.AbstractReportActionConfigDEFAULT_FILE_NAME, DEFAULT_FOLDER_PATH, EMAIL_ID, FTP_ID, PRINT_ID, RUNSCRIPT_ID, SAVE_IDFields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeablechangeEvent, listenerList
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetBody()getName()Returns a List of the replyTo Addresses.Returns a List of the user roles used in the replyTo field of an email notification.Returns the user source that will be used for the replyTo field on email notifications.intbooleanvoidsetAttachmentName(String attachmentName) voidsetBccAddresses(List<String> bccAddresses) voidvoidsetCcAddresses(List<String> ccAddresses) voidsetFormat(ReportFormat format) voidsetFromAddress(String fromAddress) voidsetReplyToAddresses(List<String> replyToAddress) Sets the replyTo Address List to the supplied List.voidsetReplyToUserRoles(List<String> userRoles) Sets the replyToAddress List to the supplied List.voidsetReplyToUserSource(String userSource) Sets the user source that will be used for the replyTo field on email notifications.voidsetRetryCount(int retryCount) voidsetSmtpServerName(String smtpServerName) voidsetSubject(String subject) voidsetToAddresses(List<String> toAddresses) voidsetUserRoles(List<String> userRoles) voidsetUserSource(String userSource) voidsetUseUserRoles(boolean useUserRoles) Methods inherited from class com.inductiveautomation.reporting.common.resource.distribution.AbstractReportActionConfiggetAvailableFormatsMethods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeableaddChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
- 
Constructor Details- 
EmailActionConfigpublic EmailActionConfig()
 
- 
- 
Method Details- 
getDistributionTypeId- Specified by:
- getDistributionTypeIdin class- AbstractReportActionConfig
- Returns:
- The string that uniquely identifies this config. Be sure the string is defined as public static final in AbstractReportActionConfig
 
- 
getName- Specified by:
- getNamein class- AbstractReportActionConfig
- Returns:
- Name of the config
 
- 
getFormat
- 
setFormat
- 
getSmtpServerName
- 
setSmtpServerName
- 
getToAddresses
- 
setToAddresses
- 
getCcAddresses
- 
setCcAddresses
- 
getBccAddresses
- 
setBccAddresses
- 
getFromAddress
- 
setFromAddress
- 
getReplyToAddressesReturns a List of the replyTo Addresses.- Returns:
- A List of the replyTo Addresses. If the list is never set, an empty list will be returned
 
- 
setReplyToAddressesSets the replyTo Address List to the supplied List.- Parameters:
- replyToAddress- a List of replyTo Email addresses. If null, no changes will be made
 
- 
getSubject
- 
setSubject
- 
getBody
- 
setBody
- 
getAttachmentName
- 
setAttachmentName
- 
getRetryCountpublic int getRetryCount()
- 
setRetryCountpublic void setRetryCount(int retryCount) 
- 
isUseUserRolespublic boolean isUseUserRoles()
- 
setUseUserRolespublic void setUseUserRoles(boolean useUserRoles) 
- 
getUserSource
- 
setUserSource
- 
getUserRoles
- 
setUserRoles
- 
getReplyToUserSourceReturns the user source that will be used for the replyTo field on email notifications.- Returns:
- the user source used for replyTo email notifications. If never set, an empty string will be returned
 
- 
setReplyToUserSourceSets the user source that will be used for the replyTo field on email notifications.- Parameters:
- userSource- The user source to use for replyTo addresses. If null, user source will not be modified
 
- 
getReplyToUserRolesReturns a List of the user roles used in the replyTo field of an email notification.- Returns:
- A List of the user roles used for replyTo Addresses. If the list is never set, an empty list will be returned
 
- 
setReplyToUserRolesSets the replyToAddress List to the supplied List.- Parameters:
- userRoles- a List of replyTo Email addresses. If null, no changes will be made
 
 
-