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,- java.io.Serializable
 
 public class EmailActionConfig extends AbstractReportActionConfig Filename: EmailActionConfig.java Created on Feb 09, 2015 Author: Kathy Applebaum Copyright Inductive Automation 2015 Project: Reporting- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class com.inductiveautomation.reporting.common.resource.distribution.AbstractReportActionConfigDEFAULT_FILE_NAME, DEFAULT_FOLDER_PATH, EMAIL_ID, FTP_ID, PRINT_ID, RUNSCRIPT_ID, SAVE_ID
 - 
Fields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeablechangeEvent, listenerList
 
- 
 - 
Constructor SummaryConstructors Constructor Description EmailActionConfig()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAttachmentName()java.util.List<java.lang.String>getBccAddresses()java.lang.StringgetBody()java.util.List<java.lang.String>getCcAddresses()java.lang.StringgetDistributionTypeId()ReportFormatgetFormat()java.lang.StringgetFromAddress()java.lang.StringgetName()java.util.List<java.lang.String>getReplyToAddresses()Returns a List of the replyTo Addresses.java.util.List<java.lang.String>getReplyToUserRoles()Returns a List of the user roles used in the replyTo field of an email notification.java.lang.StringgetReplyToUserSource()Returns the user source that will be used for the replyTo field on email notifications.intgetRetryCount()java.lang.StringgetSmtpServerName()java.lang.StringgetSubject()java.util.List<java.lang.String>getToAddresses()java.util.List<java.lang.String>getUserRoles()java.lang.StringgetUserSource()booleanisUseUserRoles()voidsetAttachmentName(java.lang.String attachmentName)voidsetBccAddresses(java.util.List<java.lang.String> bccAddresses)voidsetBody(java.lang.String body)voidsetCcAddresses(java.util.List<java.lang.String> ccAddresses)voidsetFormat(ReportFormat format)voidsetFromAddress(java.lang.String fromAddress)voidsetReplyToAddresses(java.util.List<java.lang.String> replyToAddress)Sets the replyTo Address List to the supplied List.voidsetReplyToUserRoles(java.util.List<java.lang.String> userRoles)Sets the replyToAddress List to the supplied List.voidsetReplyToUserSource(java.lang.String userSource)Sets the user source that will be used for the replyTo field on email notifications.voidsetRetryCount(int retryCount)voidsetSmtpServerName(java.lang.String smtpServerName)voidsetSubject(java.lang.String subject)voidsetToAddresses(java.util.List<java.lang.String> toAddresses)voidsetUserRoles(java.util.List<java.lang.String> userRoles)voidsetUserSource(java.lang.String userSource)voidsetUseUserRoles(boolean useUserRoles)- 
Methods inherited from class com.inductiveautomation.reporting.common.resource.distribution.AbstractReportActionConfiggetAvailableFormats
 - 
Methods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeableaddChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
 
- 
 
- 
- 
- 
Method Detail- 
getDistributionTypeIdpublic java.lang.String 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
 
 - 
getNamepublic java.lang.String getName() - Specified by:
- getNamein class- AbstractReportActionConfig
- Returns:
- Name of the config
 
 - 
getFormatpublic ReportFormat getFormat() 
 - 
setFormatpublic void setFormat(ReportFormat format) 
 - 
getSmtpServerNamepublic java.lang.String getSmtpServerName() 
 - 
setSmtpServerNamepublic void setSmtpServerName(java.lang.String smtpServerName) 
 - 
getToAddressespublic java.util.List<java.lang.String> getToAddresses() 
 - 
setToAddressespublic void setToAddresses(java.util.List<java.lang.String> toAddresses) 
 - 
getCcAddressespublic java.util.List<java.lang.String> getCcAddresses() 
 - 
setCcAddressespublic void setCcAddresses(java.util.List<java.lang.String> ccAddresses) 
 - 
getBccAddressespublic java.util.List<java.lang.String> getBccAddresses() 
 - 
setBccAddressespublic void setBccAddresses(java.util.List<java.lang.String> bccAddresses) 
 - 
getFromAddresspublic java.lang.String getFromAddress() 
 - 
setFromAddresspublic void setFromAddress(java.lang.String fromAddress) 
 - 
getReplyToAddressespublic java.util.List<java.lang.String> getReplyToAddresses() Returns 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
 
 - 
setReplyToAddressespublic void setReplyToAddresses(java.util.List<java.lang.String> replyToAddress) Sets the replyTo Address List to the supplied List.- Parameters:
- replyToAddress- a List of replyTo Email addresses. If null, no changes will be made
 
 - 
getSubjectpublic java.lang.String getSubject() 
 - 
setSubjectpublic void setSubject(java.lang.String subject) 
 - 
getBodypublic java.lang.String getBody() 
 - 
setBodypublic void setBody(java.lang.String body) 
 - 
getAttachmentNamepublic java.lang.String getAttachmentName() 
 - 
setAttachmentNamepublic void setAttachmentName(java.lang.String attachmentName) 
 - 
getRetryCountpublic int getRetryCount() 
 - 
setRetryCountpublic void setRetryCount(int retryCount) 
 - 
isUseUserRolespublic boolean isUseUserRoles() 
 - 
setUseUserRolespublic void setUseUserRoles(boolean useUserRoles) 
 - 
getUserSourcepublic java.lang.String getUserSource() 
 - 
setUserSourcepublic void setUserSource(java.lang.String userSource) 
 - 
getUserRolespublic java.util.List<java.lang.String> getUserRoles() 
 - 
setUserRolespublic void setUserRoles(java.util.List<java.lang.String> userRoles) 
 - 
getReplyToUserSourcepublic java.lang.String getReplyToUserSource() Returns 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
 
 - 
setReplyToUserSourcepublic void setReplyToUserSource(java.lang.String userSource) Sets 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
 
 - 
getReplyToUserRolespublic java.util.List<java.lang.String> getReplyToUserRoles() Returns 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
 
 - 
setReplyToUserRolespublic void setReplyToUserRoles(java.util.List<java.lang.String> userRoles) Sets the replyToAddress List to the supplied List.- Parameters:
- userRoles- a List of replyTo Email addresses. If null, no changes will be made
 
 
- 
 
-