public class MailChannel extends Object implements IPushChannel, org.springframework.beans.factory.InitializingBean
IPushChannel.PushException| Modifier and Type | Field and Description |
|---|---|
static String |
CHANNEL_ID |
static Param<String> |
RECIPIENT |
static Param<String> |
RECIPIENT_NAME |
| Constructor and Description |
|---|
MailChannel() |
public static final String CHANNEL_ID
public static void setRecipient(IPushChannelPreferences cPrefs, String recipient)
public static void setRecipientName(IPushChannelPreferences cPrefs, String recipientName)
public static String getRecipient(IPushChannelPreferences cPrefs)
public static String getRecipientName(IPushChannelPreferences cPrefs)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic com.google.common.collect.ImmutableSet<Notification.Type> getNotificationTypes()
getNotificationTypes in interface IChannelpublic IPushChannelPreferences newDefaultPreferences()
IChannelnewDefaultPreferences in interface IChannelnewDefaultPreferences in interface IPushChannelpublic void push(Dispatch dispatch) throws IPushChannel.PushException
IPushChannelpush in interface IPushChannelIPushChannel.PushException - if delivery failedpublic boolean isConfigured(Params params)
isConfigured in interface IChannelpublic IPushChannelPreferences getDefaultPreferences()
public void setDefaultPreferences(IPushChannelPreferences defaultPreferences)
public IMailClient getMailClient()
public void setMailClient(IMailClient mailClient)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public void setMailFilter(IMailFilter mailFilter)
Copyright © 2014 Molindo GmbH. All Rights Reserved.