public interface JobDetail extends Serializable, Cloneable
Job instance. JobDetails are to be created/defined with JobBuilder.
Quartz does not store an actual instance of a Job class, but instead allows you to define an instance of one, through the use of a
JobDetail.
Jobs have a name associated with them, which should uniquely identify them within a single .
Scheduler
Triggers are the 'mechanism' by which Jobs are scheduled. Many Triggers can point to the same
Job, but a single Trigger can only point to one Job.
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
String |
getDescription()
Return the description given to the
Job instance by its creator (if any). |
JobBuilder |
getJobBuilder()
Get a
JobBuilder that is configured to produce a JobDetail identical to this one. |
Class<? extends Job> |
getJobClass()
Get the instance of
Job that will be executed. |
JobDataMap |
getJobDataMap()
Get the
JobDataMap that is associated with the Job. |
String |
getName() |
boolean |
isConcurrencyAllowed()
The default behavior is to veto any job is currently running concurrent.
|
String getName()
String getDescription()
Return the description given to the Job instance by its creator (if any).
JobDataMap getJobDataMap()
Get the JobDataMap that is associated with the Job.
boolean isConcurrencyAllowed()
Object clone()
JobBuilder getJobBuilder()
JobBuilder that is configured to produce a JobDetail identical to this one.Copyright © 2011–2017 Knowm Inc.. All rights reserved.