Class AppScheduler

java.lang.Object
org.openmetadata.service.apps.scheduler.AppScheduler

public class AppScheduler extends Object
  • Field Details

  • Method Details

    • initialize

      public static void initialize(OpenMetadataApplicationConfig config, CollectionDAO dao, SearchRepository searchClient) throws org.quartz.SchedulerException
      Throws:
      org.quartz.SchedulerException
    • getInstance

      public static AppScheduler getInstance()
    • addApplicationSchedule

      public void addApplicationSchedule(App application)
    • deleteScheduledApplication

      public void deleteScheduledApplication(App app) throws org.quartz.SchedulerException
      Throws:
      org.quartz.SchedulerException
    • shutDown

      public static void shutDown() throws org.quartz.SchedulerException
      Throws:
      org.quartz.SchedulerException
    • getCronSchedule

      public static org.quartz.CronScheduleBuilder getCronSchedule(AppSchedule scheduleInfo)
    • triggerOnDemandApplication

      public void triggerOnDemandApplication(App application)