Class ManagedScheduledJobFactory

  • All Implemented Interfaces:
    ManagedScheduledJobInitialiser, ManagedScheduledJobRegistrationService

    public class ManagedScheduledJobFactory
    extends Object
    implements ManagedScheduledJobRegistrationService, ManagedScheduledJobInitialiser
    Constructs ScheduledJobConfigurations, ScheduledJobStatus and JobConfig objects, and saves/schedules them based on preconfigured (i.e. via Spring) ManagedScheduledJobs during initialisation (via ManagedScheduledJobInitialiser), or on registration during the installation / startup of a plugin (via the ManagedScheduledJobRegistrationService interface).

    Any ManagedScheduledJobs registered before initialisation will not be constructed at registration time, instead they will be constructed at initialisation time.

    • Constructor Detail

      • ManagedScheduledJobFactory

        protected ManagedScheduledJobFactory()
        Required for CGLIB to be able to successfully proxy.
      • ManagedScheduledJobFactory

        public ManagedScheduledJobFactory​(com.atlassian.scheduler.SchedulerService schedulerService,
                                          com.atlassian.sal.api.timezone.TimeZoneManager timeZoneManager,
                                          ScheduledJobDao scheduledJobDAO,
                                          DefaultManagedScheduledJobRegistry registry,
                                          ScheduledJobManager scheduledJobManager)
        Parameters:
        schedulerService -
        timeZoneManager -
        scheduledJobDAO -
        registry -
        scheduledJobManager -
        Since:
        8.0.0