com.atlassian.confluence.schedule.listeners
Class ScheduledJobsListener
java.lang.Object
com.atlassian.confluence.schedule.listeners.ScheduledJobsListener
- All Implemented Interfaces:
- org.quartz.JobListener
public class ScheduledJobsListener
- extends Object
- implements org.quartz.JobListener
Listens for changes (from Quartz) in the activity of job being managed and
records they're status / history.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScheduledJobsListener
public ScheduledJobsListener(ScheduledJobDao scheduledJobDAO,
ManagedScheduledJobRegistry jobRegistry,
ScheduleJobStatusManager statusManager)
getName
public String getName()
- Specified by:
getName
in interface org.quartz.JobListener
jobToBeExecuted
public void jobToBeExecuted(org.quartz.JobExecutionContext context)
- Specified by:
jobToBeExecuted
in interface org.quartz.JobListener
jobExecutionVetoed
public void jobExecutionVetoed(org.quartz.JobExecutionContext context)
- Specified by:
jobExecutionVetoed
in interface org.quartz.JobListener
jobWasExecuted
public void jobWasExecuted(org.quartz.JobExecutionContext context,
org.quartz.JobExecutionException jobException)
- Specified by:
jobWasExecuted
in interface org.quartz.JobListener
Copyright © 2003-2013 Atlassian. All Rights Reserved.