The interface to be implemented by classes that want to be informed of major {@link Scheduler} events.
{@link Scheduler}
565758596061626364
} public void jobAdded(JobDetail jobDetail) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.jobAdded(jobDetail); } }
646566676869707172
} public void jobDeleted(JobKey jobKey) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.jobDeleted(jobKey); } }
727374757677787980
} public void jobScheduled(Trigger trigger) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.jobScheduled(trigger); } }
808182838485868788
} public void jobUnscheduled(TriggerKey triggerKey) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.jobUnscheduled(triggerKey); } }
888990919293949596
} public void triggerFinalized(Trigger trigger) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.triggerFinalized(trigger); } }
96979899100101102103104
} public void triggerPaused(TriggerKey key) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.triggerPaused(key); } }
104105106107108109110111112
} public void triggersPaused(String triggerGroup) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.triggersPaused(triggerGroup); } }
112113114115116117118119120
} public void triggerResumed(TriggerKey key) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.triggerResumed(key); } }
120121122123124125126127128
} public void triggersResumed(String triggerGroup) { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.triggersResumed(triggerGroup); } }
128129130131132133134135136
} public void schedulingDataCleared() { Iterator<SchedulerListener> itr = listeners.iterator(); while(itr.hasNext()) { SchedulerListener l = itr.next(); l.schedulingDataCleared(); } }