public abstract class BaseEmailNotifier extends java.lang.Object implements Notifier
Initialization parameters for this notifier are as follows:
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
BaseEmailNotifier() |
Modifier and Type | Method and Description |
---|---|
void |
configure(javax.servlet.FilterConfig config)
Will configure the Notifier directly from a Servlet Filter configuration.
|
void |
configure(javax.servlet.ServletConfig config)
Will configure the Notifier directly from a Servlet configuration.
|
void |
configure(java.lang.String namePrefix,
java.util.Properties config)
Will configure the Notifier from a properties configufation
|
java.util.Set<java.lang.String> |
getAllowedServerSet() |
java.lang.String |
getFromEmailAddress() |
java.lang.String |
getMailServerHost() |
java.lang.String |
getToEmailAddress() |
boolean |
isSuppressEmail() |
void |
setAllowedServerSet(java.util.Set<java.lang.String> allowedServerSet) |
void |
setFromEmailAddress(java.lang.String fromEmailAddress) |
void |
setMailServerHost(java.lang.String mailServerHost) |
void |
setSuppressEmail(boolean suppressEmail) |
void |
setToEmailAddress(java.lang.String toEmailAddress) |
boolean |
supportsHtml()
Indicates if this notifier supports HTML-formatted messages.
|
boolean |
supportsSMS()
Indicates if this notifier support SMS, which usually infers a restricted
message size.
|
public boolean supportsHtml()
Notifier
supportsHtml
in interface Notifier
public void configure(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
Configurable
configure
in interface Configurable
javax.servlet.ServletException
public void configure(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
Configurable
configure
in interface Configurable
javax.servlet.ServletException
public void configure(java.lang.String namePrefix, java.util.Properties config)
Configurable
configure
in interface Configurable
public java.util.Set<java.lang.String> getAllowedServerSet()
public void setAllowedServerSet(java.util.Set<java.lang.String> allowedServerSet)
public java.lang.String getFromEmailAddress()
public void setFromEmailAddress(java.lang.String fromEmailAddress)
public java.lang.String getMailServerHost()
public void setMailServerHost(java.lang.String mailServerHost)
public boolean isSuppressEmail()
public void setSuppressEmail(boolean suppressEmail)
public java.lang.String getToEmailAddress()
public void setToEmailAddress(java.lang.String toEmailAddress)
public boolean supportsSMS()
Notifier
supportsSMS
in interface Notifier
Copyright © 2015 The Admin4J Project. All Rights Reserved.