Groovy Documentation

jobs
Class UpdateJob

java.lang.Object
  jobs.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

conf

Map conf
The wiki configuration


group

static String group
Group name, used to identify all update jobs


log

static Logger log
Logger


triggers

static def triggers
No automatic triggers - this job is scheduled manually.


 
Constructor Detail

UpdateJob

UpdateJob()


 
Method Detail

execute

void execute(JobExecutionContext context)
Execute an update job for the wiki id given by the context


scheduleUpdate

public 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


 

Groovy Documentation