|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xpn.xwiki.plugin.scheduler.AbstractJob
com.xpn.xwiki.plugin.watchlist.WatchListJob
public class WatchListJob
WatchList abstract implementation of Quartz's Job.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_EMAIL_TEMPLATE
Wiki page which contains the default watchlist email template. |
| Constructor Summary | |
|---|---|
WatchListJob()
|
|
| Method Summary | |
|---|---|
protected void |
cleanupComponents()
Clean the container context. |
void |
executeJob(org.quartz.JobExecutionContext jobContext)
Method called from the scheduler. |
java.lang.String |
getId()
|
void |
init(org.quartz.JobExecutionContext jobContext)
Sets objects required by the Job : XWiki, XWikiContext, WatchListPlugin, etc. |
protected void |
initializeComponents(com.xpn.xwiki.XWikiContext context)
Initialize container context. |
| Methods inherited from class com.xpn.xwiki.plugin.scheduler.AbstractJob |
|---|
execute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.quartz.Job |
|---|
execute |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_EMAIL_TEMPLATE
| Constructor Detail |
|---|
public WatchListJob()
| Method Detail |
|---|
public void init(org.quartz.JobExecutionContext jobContext)
throws java.lang.Exception
jobContext - Context of the request
java.lang.Exception - when the init of components fails
protected void initializeComponents(com.xpn.xwiki.XWikiContext context)
throws javax.servlet.ServletException
context - The XWiki context.
javax.servlet.ServletException - If the container initialization fails.protected void cleanupComponents()
public java.lang.String getId()
public void executeJob(org.quartz.JobExecutionContext jobContext)
throws org.quartz.JobExecutionException
executeJob in class com.xpn.xwiki.plugin.scheduler.AbstractJobjobContext - Context of the request
org.quartz.JobExecutionException - if the job execution fails.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||