org.broadleafcommerce.common.email.service.info
Class NullEmailInfo

java.lang.Object
  extended by org.broadleafcommerce.common.email.service.info.EmailInfo
      extended by org.broadleafcommerce.common.email.service.info.NullEmailInfo
All Implemented Interfaces:
Serializable

public class NullEmailInfo
extends EmailInfo

Implementation of EmailInfo that will not send an Email. The out of box configuration for broadleaf does not send emails but does have hooks to send emails for use cases like registration, forgot password, etc. The email send functionality will not send an email if the passed in EmailInfo is an instance of this class.

Author:
vjain
See Also:
Serialized Form

Constructor Summary
NullEmailInfo()
           
 
Method Summary
 
Methods inherited from class org.broadleafcommerce.common.email.service.info.EmailInfo
clone, getAttachments, getEmailTemplate, getEmailType, getFromAddress, getMessageBody, getSendAsyncPriority, getSendEmailReliableAsync, getSubject, setAttachments, setEmailTemplate, setEmailType, setFromAddress, setMessageBody, setSendAsyncPriority, setSendEmailReliableAsync, setSubject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullEmailInfo

public NullEmailInfo()
              throws IOException
Throws:
IOException


Copyright © 2013. All Rights Reserved.