Package org.n52.io.task
Class ReSchedulerJob
java.lang.Object
org.springframework.scheduling.quartz.QuartzJobBean
org.n52.io.task.ScheduledJob
org.n52.io.task.ReSchedulerJob
- All Implemented Interfaces:
JobUtils,org.quartz.InterruptableJob,org.quartz.Job
@PersistJobDataAfterExecution
@DisallowConcurrentExecution
public class ReSchedulerJob
extends ScheduledJob
implements org.quartz.InterruptableJob, JobUtils
-
Field Summary
Fields inherited from interface org.n52.io.task.JobUtils
JOB_DETAIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.quartz.JobDetailorg.quartz.Triggerorg.quartz.TriggercreateTrigger(org.quartz.JobKey jobKey) protected voidexecuteInternal(org.quartz.JobExecutionContext context) org.slf4j.LoggervoidMethods inherited from class org.n52.io.task.ScheduledJob
getCronExpression, getJobDescription, getJobName, getStartUpDelay, getTriggerName, isEnabled, isModified, isStartUpDelay, isTriggerAtStartup, setCronExpression, setEnabled, setJobDescription, setJobName, setModified, setStartUpDelay, setTriggerAtStartup, setTriggerNameMethods inherited from class org.springframework.scheduling.quartz.QuartzJobBean
executeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.quartz.Job
executeMethods inherited from interface org.n52.io.task.JobUtils
createBeanCreationException, createCronTrigger, createJobDetail, scheduleJob, updateJob
-
Constructor Details
-
ReSchedulerJob
public ReSchedulerJob()
-
-
Method Details
-
createTrigger
public org.quartz.Trigger createTrigger() -
createTrigger
public org.quartz.Trigger createTrigger(org.quartz.JobKey jobKey) - Overrides:
createTriggerin classScheduledJob
-
createJobDetails
public org.quartz.JobDetail createJobDetails()- Specified by:
createJobDetailsin classScheduledJob
-
executeInternal
protected void executeInternal(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException - Specified by:
executeInternalin classorg.springframework.scheduling.quartz.QuartzJobBean- Throws:
org.quartz.JobExecutionException
-
interrupt
public void interrupt() throws org.quartz.UnableToInterruptJobException- Specified by:
interruptin interfaceorg.quartz.InterruptableJob- Throws:
org.quartz.UnableToInterruptJobException
-
getLogger
public org.slf4j.Logger getLogger()
-