|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.wiki.plugin.emailnotifier.SingleNotifier
public class SingleNotifier
A modification of NotifierTask
that sends a single email to a single email address. This is not a
NotifierTask extension since that class has many member variables and
methods that are appropriately private.
| Field Summary | |
|---|---|
static String |
PROP_EMAIL_PASSWORD
|
static String |
PROP_EMAIL_USERID
|
| Constructor Summary | |
|---|---|
SingleNotifier(WikiEngine engine)
Basic constructor, accepts the app name that we serve as notifier for, schedules this task to run. |
|
| Method Summary | |
|---|---|
protected List |
readSubscribers()
Return a list of the Subscribers who are due delivery of their notifications. |
void |
sendEmail(String message,
String address)
Given an email text and an email address, sends that email to the provided email address. |
protected String |
subscriptionPageText()
Return the (raw, untranslated) wiki text of the designated subscription page. |
void |
updateFormatter(Map paramMap)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROP_EMAIL_USERID
public static final String PROP_EMAIL_PASSWORD
| Constructor Detail |
|---|
public SingleNotifier(WikiEngine engine)
throws javax.mail.internet.AddressException
engine - the WikiEngine used.
javax.mail.internet.AddressException| Method Detail |
|---|
public void sendEmail(String message,
String address)
protected List readSubscribers()
protected String subscriptionPageText()
public void updateFormatter(Map paramMap)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||