Interface PlanScheduler

All Known Implementing Classes:
DefaultPlanScheduler

public interface PlanScheduler
Manages scheduled jobs for Plans
  • Method Details

    • removeTasksScheduledForPlan

      void removeTasksScheduledForPlan(@NotNull @NotNull ImmutablePlan plan)
      Removes Scheduling Jobs for the given Plan
      Parameters:
      plan -
    • scheduleTasksForPlan

      void scheduleTasksForPlan(@NotNull @NotNull ImmutablePlan plan)
      Creates Scheduling Jobs for the given Plan
      Parameters:
      plan -
    • removeTasksScheduledForPlanAndBranches

      void removeTasksScheduledForPlanAndBranches(@NotNull @NotNull ImmutablePlan plan)
      Removes Scheduling Jobs for the given Plan and its Branches
      Parameters:
      plan -
    • scheduleTasksForPlanAndBranches

      void scheduleTasksForPlanAndBranches(@NotNull @NotNull ImmutablePlan plan)
      Creates Scheduling Jobs for the given Plan and its Branches
      Parameters:
      plan -
    • executeWithoutPlanSchedules

      void executeWithoutPlanSchedules(@NotNull @NotNull PlanSchedulerCallback planSchedulerCallback)
      Removes the existing scheduling jobs, executes the PlanSchedulerCallback and recreates the jobs
      Parameters:
      planSchedulerCallback -
    • executeWithoutSchedules

      void executeWithoutSchedules(@NotNull @NotNull TriggerableSchedulerCallback triggerableSchedulerCallback)
      Removes the existing scheduling jobs, executes TriggerableSchedulerCallback and recreates the jobs
      Parameters:
      triggerableSchedulerCallback -
      Since:
      5.0
    • removeAllScheduledJobs

      void removeAllScheduledJobs(@NotNull @NotNull Triggerable triggerable)
      Remove all scheduling jobs for a Triggerable. If argument is a Plan this method is equivalent of removeTasksScheduledForPlanAndBranches(ImmutablePlan)
      Parameters:
      triggerable -
      Since:
      5.0
    • scheduleTriggeringJobs

      void scheduleTriggeringJobs(@NotNull @NotNull Triggerable triggerable)
      Starts all scheduling jobs for a Triggerable. If argument is a Plan this method is equivalent of scheduleTasksForPlanAndBranches(ImmutablePlan)
      Parameters:
      triggerable -
      Since:
      5.0