public class ScheduledJobsListener extends Object implements org.quartz.JobListener, JobListener
Modifier and Type | Field and Description |
---|---|
protected static String |
QUARTZ_EXECUTING_JOBS_MANAGER_CLASS_NAME |
Constructor and Description |
---|
ScheduledJobsListener(com.atlassian.scheduler.SchedulerService schedulerService,
ScheduledJobDao scheduledJobDAO,
com.google.common.base.Supplier<ManagedScheduledJobRegistry> jobRegistry,
ScheduleJobStatusManager statusManager,
org.springframework.transaction.PlatformTransactionManager transactionManager) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
void |
jobExecutionVetoed(org.quartz.JobExecutionContext context) |
void |
jobToBeExecuted(org.quartz.JobExecutionContext context) |
void |
jobToBeExecuted(com.atlassian.scheduler.JobRunnerRequest request) |
void |
jobWasExecuted(org.quartz.JobExecutionContext context,
org.quartz.JobExecutionException jobException) |
void |
jobWasExecuted(com.atlassian.scheduler.JobRunnerRequest request,
com.atlassian.scheduler.JobRunnerResponse response) |
protected static final String QUARTZ_EXECUTING_JOBS_MANAGER_CLASS_NAME
public ScheduledJobsListener(com.atlassian.scheduler.SchedulerService schedulerService, ScheduledJobDao scheduledJobDAO, com.google.common.base.Supplier<ManagedScheduledJobRegistry> jobRegistry, ScheduleJobStatusManager statusManager, org.springframework.transaction.PlatformTransactionManager transactionManager)
public String getName()
public void jobToBeExecuted(org.quartz.JobExecutionContext context)
public void jobExecutionVetoed(org.quartz.JobExecutionContext context)
public void jobWasExecuted(org.quartz.JobExecutionContext context, org.quartz.JobExecutionException jobException)
public void jobToBeExecuted(com.atlassian.scheduler.JobRunnerRequest request)
jobToBeExecuted
in interface JobListener
public void jobWasExecuted(com.atlassian.scheduler.JobRunnerRequest request, com.atlassian.scheduler.JobRunnerResponse response)
jobWasExecuted
in interface JobListener
Copyright © 2003–2016 Atlassian. All rights reserved.