|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectjobs.UpdateJob
class UpdateJob
A Quartz Scheduler job to SVN update Wikis. Scheduling is done by Bootstrap and WikiController, based on Wiki.updateInterval
| Property Summary | |
|---|---|
Map |
conf
The wiki configuration |
static String |
group
Group name, used to identify all update jobs |
static Logger |
log
Logger |
static def |
triggers
No automatic triggers - this job is scheduled manually. |
| Constructor Summary | |
UpdateJob()
|
|
| Method Summary | |
|---|---|
void
|
execute(JobExecutionContext context)
Execute an update job for the wiki id given by the context |
static void
|
scheduleUpdate(Wiki w)
Schedule a wiki SVN update job, giving the wiki id as part of the description so that it can be retrieved from the context later |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
| Property Detail |
|---|
Map conf
static String group
static Logger log
static def triggers
| Constructor Detail |
|---|
UpdateJob()
| Method Detail |
|---|
void execute(JobExecutionContext context)
public static void scheduleUpdate(Wiki w)
Groovy Documentation