Class AutomationSchedulerService

java.lang.Object
ch.tocco.nice2.optional.automation.impl.trigger.batchjob.AutomationSchedulerService

@Component public class AutomationSchedulerService extends Object
used to submit Automation_batch_job entities as tasks in the task queue
  • Constructor Details

    • AutomationSchedulerService

      public AutomationSchedulerService(BatchJobManager batchJobManager)
  • Method Details

    • schedule

      public void schedule(Entity automation)
      schedule an automation to run at its defined schedule
    • removeScheduled

      public void removeScheduled(PrimaryKey automationKey)
      remove a scheduled automation from the task queue