com.xpn.xwiki.plugin.scheduler
Class AbstractJob
java.lang.Object
com.xpn.xwiki.plugin.scheduler.AbstractJob
- All Implemented Interfaces:
- org.quartz.Job
- Direct Known Subclasses:
- GroovyJob
public abstract class AbstractJob
- extends Object
- implements org.quartz.Job
Base class for any XWiki Quartz Job. This class take care of initializing ExecutionContext properly.
A class extending AbstractJob should implements executeJob(JobExecutionContext).
- Since:
- 1.8
- Version:
- $Id$
|
Method Summary |
void |
execute(org.quartz.JobExecutionContext jobContext)
|
protected abstract void |
executeJob(org.quartz.JobExecutionContext jobContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJob
public AbstractJob()
execute
public final void execute(org.quartz.JobExecutionContext jobContext)
throws org.quartz.JobExecutionException
- Specified by:
execute in interface org.quartz.Job
- Throws:
org.quartz.JobExecutionException
executeJob
protected abstract void executeJob(org.quartz.JobExecutionContext jobContext)
throws org.quartz.JobExecutionException
- Throws:
org.quartz.JobExecutionException
Copyright © 2004-2012 XWiki. All Rights Reserved.