public class EmailNotificationHandler extends NotificationHandler implements ConfChangeEventListenerI, DBManEventListenerI
Benutzer
via e-Mail.Modifier and Type | Method and Description |
---|---|
static java.lang.String |
determineContentType(java.lang.String body) |
java.lang.String |
getByMedium() |
QueryResultsI |
getEmailRoutingRegeln() |
QueryResultsI |
getEmailRoutingRegeln(boolean ownNodeOnly) |
java.util.Map<java.lang.String,de.ipcon.messaging.email.SimpleMailSender> |
getSenders()
When a notification should be send to multiple recipients, including multiple
different addresses for the same recipient, the requested settings for
signing, encryption or use of inline PGP style may differ between them.
|
boolean |
isSuppressMsgID() |
boolean |
isUseInlinePGP() |
void |
loadConfigurations() |
void |
processConfChangeEvent(ConfChangeEvent e) |
void |
processDBManEvent(DBManEvent e)
Invoked when a subscribed DBManEvent occurs.
|
void |
setSenders(java.util.Map<java.lang.String,de.ipcon.messaging.email.SimpleMailSender> $25) |
void |
setSuppressMsgID(boolean $27) |
void |
setUseInlinePGP(boolean $26) |
canHandle, getClazz, getNotificationModule, getState, handleNotification, setClazz, setNotificationModule, setState, start, start, stop
public java.lang.String getByMedium()
getByMedium
in class NotificationHandler
public static java.lang.String determineContentType(java.lang.String body)
public QueryResultsI getEmailRoutingRegeln()
public QueryResultsI getEmailRoutingRegeln(boolean ownNodeOnly)
public void loadConfigurations()
public void processConfChangeEvent(ConfChangeEvent e)
processConfChangeEvent
in interface ConfChangeEventListenerI
public void processDBManEvent(DBManEvent e)
DBManEventListenerI
DBManBOChangeEvent
for events triggered after modification on BOs.processDBManEvent
in interface DBManEventListenerI
public java.util.Map<java.lang.String,de.ipcon.messaging.email.SimpleMailSender> getSenders()
This class stores all addresses a notification should be send to but grouped by their requested settings.
This is then used to send as few emails as necessary to honour all the different settings while keeping things like CC lists intact as much as possible.
In many, if not most cases, we will still end up with just one settings group for all addresses though.
public void setSenders(java.util.Map<java.lang.String,de.ipcon.messaging.email.SimpleMailSender> $25)
public boolean isUseInlinePGP()
public void setUseInlinePGP(boolean $26)
public boolean isSuppressMsgID()
public void setSuppressMsgID(boolean $27)
Copyright © 2000-2024 OAshi S.à r.l. All Rights Reserved.