public class ClearModuleNodesJob extends BackgroundJob
idGen, JOB_BEGIN, JOB_CREATED, JOB_CURRENT_LOCALE, JOB_DURATION, JOB_END, JOB_MESSAGE, JOB_SITEKEY, JOB_STATUS, JOB_USERKEY, STATUS_ADDED, STATUS_CANCELED, STATUS_EXECUTING, STATUS_FAILED, STATUS_SCHEDULED, STATUS_SUCCESSFUL| Constructor and Description |
|---|
ClearModuleNodesJob() |
| Modifier and Type | Method and Description |
|---|---|
static org.quartz.JobDetail |
createJob(String moduleId,
String moduleVersion)
Create an instance of
JobDetail for this job with the specified data. |
void |
executeJahiaJob(org.quartz.JobExecutionContext jobExecutionContext) |
createJahiaJob, execute, getGroupName, postExecutionpublic static org.quartz.JobDetail createJob(String moduleId, String moduleVersion)
JobDetail for this job with the specified data.moduleId - the id of the module to clean nodes formoduleVersion - the version of the modulepublic void executeJahiaJob(org.quartz.JobExecutionContext jobExecutionContext)
throws Exception
executeJahiaJob in class BackgroundJobExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.