Class UnmanagedJobScheduler


  • public class UnmanagedJobScheduler
    extends Object
    Schedules unmanaged jobs on ApplicationStartedEvent.

    For managed jobs, please see ManagedScheduledJobsLifecycle.

    Since:
    5.10
    • Constructor Detail

      • UnmanagedJobScheduler

        public UnmanagedJobScheduler​(com.atlassian.scheduler.SchedulerService schedulerService,
                                     com.atlassian.sal.api.timezone.TimeZoneManager timeZoneManager,
                                     Collection<ScheduledJob> unmanagedJobs,
                                     com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
    • Method Detail

      • listenApplicationStartedEvent

        @PostConstruct
        public void listenApplicationStartedEvent()
      • onApplicationStartedEvent

        @EventListener
        public void onApplicationStartedEvent​(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)