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 Constructor Description ReSchedulerJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.quartz.JobDetailcreateJobDetails()org.quartz.TriggercreateTrigger()org.quartz.TriggercreateTrigger(org.quartz.JobKey jobKey)protected voidexecuteInternal(org.quartz.JobExecutionContext context)org.slf4j.LoggergetLogger()voidinterrupt()-
Methods inherited from class org.n52.io.task.ScheduledJob
getCronExpression, getJobDescription, getJobName, getStartUpDelay, getTriggerName, isEnabled, isModified, isStartUpDelay, isTriggerAtStartup, setCronExpression, setEnabled, setJobDescription, setJobName, setModified, setStartUpDelay, setTriggerAtStartup, setTriggerName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.io.task.JobUtils
createBeanCreationException, createCronTrigger, createJobDetail, scheduleJob, updateJob
-
-
-
-
Method Detail
-
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
-
-