public class SchedulerJobDetail extends Object implements org.quartz.JobDetail
JobDetail implementation that does not rely on DisallowConcurrentExecution in
isConcurrentExectionDisallowed(). Instead, the value of
from the job's datamap is used. This is a workaround for
Quartz issue #184.| Constructor and Description |
|---|
SchedulerJobDetail(org.quartz.JobDetail detail) |
SchedulerJobDetail(org.quartz.JobKey key,
String description) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object obj) |
String |
getDescription() |
org.quartz.JobBuilder |
getJobBuilder() |
Class<? extends org.quartz.Job> |
getJobClass() |
org.quartz.JobDataMap |
getJobDataMap() |
org.quartz.JobKey |
getKey() |
int |
hashCode() |
boolean |
isConcurrentExectionDisallowed() |
boolean |
isDurable() |
boolean |
isPersistJobDataAfterExecution() |
boolean |
requestsRecovery() |
String |
toString() |
public SchedulerJobDetail(org.quartz.JobKey key,
String description)
public SchedulerJobDetail(org.quartz.JobDetail detail)
public boolean isConcurrentExectionDisallowed()
isConcurrentExectionDisallowed in interface org.quartz.JobDetailpublic org.quartz.JobKey getKey()
getKey in interface org.quartz.JobDetailpublic String getDescription()
getDescription in interface org.quartz.JobDetailpublic Class<? extends org.quartz.Job> getJobClass()
getJobClass in interface org.quartz.JobDetailpublic org.quartz.JobDataMap getJobDataMap()
getJobDataMap in interface org.quartz.JobDetailpublic boolean isDurable()
isDurable in interface org.quartz.JobDetailpublic boolean isPersistJobDataAfterExecution()
isPersistJobDataAfterExecution in interface org.quartz.JobDetailpublic boolean requestsRecovery()
requestsRecovery in interface org.quartz.JobDetailpublic Object clone()
public org.quartz.JobBuilder getJobBuilder()
getJobBuilder in interface org.quartz.JobDetailCopyright © 2017. All rights reserved.