Groovy Documentation

jobs
Class WikiRegenerationJob

java.lang.Object
  jobs.WikiRegenerationJob

class WikiRegenerationJob

A Quartz Scheduler job to regenerate Wikis. Scheduling is done by Bootstrap and WikiController, based on Wiki.regenerateTime


Property Summary
static String group

Group name, used to identify all regenerate jobs

static Logger log

Logger

static def triggers

No automatic triggers - this job is scheduled manually.

 
Constructor Summary
WikiRegenerationJob()

 
Method Summary
void execute(JobExecutionContext context)

Execute a regeneration job for the wiki id given by the context

static void scheduleWikiRegeneration(Wiki w)

Schedule a wiki regeneration 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

group

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


log

static Logger log
Logger


triggers

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


 
Constructor Detail

WikiRegenerationJob

WikiRegenerationJob()


 
Method Detail

execute

void execute(JobExecutionContext context)
Execute a regeneration job for the wiki id given by the context


scheduleWikiRegeneration

public static void scheduleWikiRegeneration(Wiki w)
Schedule a wiki regeneration job, giving the wiki id as part of the description so that it can be retrieved from the context later


 

Groovy Documentation