public class ManagedScheduledJobTriggerFactory extends Object implements ManagedScheduleJobRegistrationService, ManagedTriggerFactory
Any ManagedScheduledJob registered before initialisation will not be constructed at registration time, instead they will be constructed at initialisation time.
Modifier | Constructor and Description |
---|---|
protected |
ManagedScheduledJobTriggerFactory()
Required for CGLIB to be able to successfully proxy.
|
|
ManagedScheduledJobTriggerFactory(org.quartz.Scheduler scheduler,
com.atlassian.scheduler.SchedulerService schedulerService,
com.atlassian.sal.api.timezone.TimeZoneManager timeZoneManager,
ScheduledJobDao scheduledJobDAO,
DefaultManagedScheduledJobRegistry registry,
org.quartz.JobListener listener,
CronTriggerFactory cronTriggerFactory,
SimpleTriggerFactory simpleTriggerFactory)
Deprecated.
since 6.5.1
|
|
ManagedScheduledJobTriggerFactory(org.quartz.Scheduler scheduler,
com.atlassian.scheduler.SchedulerService schedulerService,
com.atlassian.sal.api.timezone.TimeZoneManager timeZoneManager,
ScheduledJobDao scheduledJobDAO,
DefaultManagedScheduledJobRegistry registry,
org.quartz.JobListener listener,
CronTriggerFactory cronTriggerFactory,
SimpleTriggerFactory simpleTriggerFactory,
ScheduledJobManager scheduledJobManager) |
Modifier and Type | Method and Description |
---|---|
void |
initialiseTriggers()
Creates and schedules the triggers with the scheduler.
|
void |
registerManagedScheduledJob(ManagedScheduledJob managedScheduledJob)
For registering of additional ManagedScheduledJob's (e.g.
|
void |
unregisterManagedScheduledJob(ManagedScheduledJob managedScheduledJob)
For unregistering of a previously registered ManagedScheduledJob's (e.g.
|
protected ManagedScheduledJobTriggerFactory()
@Deprecated public ManagedScheduledJobTriggerFactory(org.quartz.Scheduler scheduler, com.atlassian.scheduler.SchedulerService schedulerService, com.atlassian.sal.api.timezone.TimeZoneManager timeZoneManager, ScheduledJobDao scheduledJobDAO, DefaultManagedScheduledJobRegistry registry, org.quartz.JobListener listener, CronTriggerFactory cronTriggerFactory, SimpleTriggerFactory simpleTriggerFactory)
scheduler
- schedulerService
- timeZoneManager
- scheduledJobDAO
- registry
- listener
- cronTriggerFactory
- simpleTriggerFactory
- public ManagedScheduledJobTriggerFactory(org.quartz.Scheduler scheduler, com.atlassian.scheduler.SchedulerService schedulerService, com.atlassian.sal.api.timezone.TimeZoneManager timeZoneManager, ScheduledJobDao scheduledJobDAO, DefaultManagedScheduledJobRegistry registry, org.quartz.JobListener listener, CronTriggerFactory cronTriggerFactory, SimpleTriggerFactory simpleTriggerFactory, ScheduledJobManager scheduledJobManager)
scheduler
- schedulerService
- timeZoneManager
- scheduledJobDAO
- registry
- listener
- cronTriggerFactory
- simpleTriggerFactory
- scheduledJobManager
- public void initialiseTriggers()
ManagedTriggerFactory
initialiseTriggers
in interface ManagedTriggerFactory
public void registerManagedScheduledJob(ManagedScheduledJob managedScheduledJob)
registerManagedScheduledJob
in interface ManagedScheduleJobRegistrationService
managedScheduledJob
- the job to registerpublic void unregisterManagedScheduledJob(ManagedScheduledJob managedScheduledJob)
Job will be unscheduled and unloaded. No historical information will be removed.
unregisterManagedScheduledJob
in interface ManagedScheduleJobRegistrationService
managedScheduledJob
- the job to unregisterCopyright © 2003–2020 Atlassian. All rights reserved.