public interface PlanScheduler
Plans| Modifier and Type | Method and Description |
|---|---|
void |
executeWithoutPlanSchedules(PlanSchedulerCallback planSchedulerCallback)
Removes the existing scheduling jobs, executes the
PlanSchedulerCallback and recreates the jobs |
void |
executeWithoutSchedules(TriggerableSchedulerCallback triggerableSchedulerCallback)
Removes the existing scheduling jobs, executes
TriggerableSchedulerCallback and recreates the jobs |
void |
removeAllScheduledJobs(Triggerable triggerable)
Remove all scheduling jobs for a
Triggerable. |
void |
removeTasksScheduledForPlan(ImmutablePlan plan)
Removes Scheduling Jobs for the given
Plan |
void |
removeTasksScheduledForPlanAndBranches(ImmutablePlan plan)
Removes Scheduling Jobs for the given
Plan and its Branches |
void |
scheduleTasksForPlan(ImmutablePlan plan)
Creates Scheduling Jobs for the given
Plan |
void |
scheduleTasksForPlanAndBranches(ImmutablePlan plan)
Creates Scheduling Jobs for the given
Plan and its Branches |
void |
scheduleTriggeringJobs(Triggerable triggerable)
Starts all scheduling jobs for a
Triggerable. |
void removeTasksScheduledForPlan(@NotNull
ImmutablePlan plan)
Planplan - void scheduleTasksForPlan(@NotNull
ImmutablePlan plan)
Planplan - void removeTasksScheduledForPlanAndBranches(@NotNull
ImmutablePlan plan)
Plan and its Branchesplan - void scheduleTasksForPlanAndBranches(@NotNull
ImmutablePlan plan)
Plan and its Branchesplan - void executeWithoutPlanSchedules(@NotNull
PlanSchedulerCallback planSchedulerCallback)
PlanSchedulerCallback and recreates the jobsplanSchedulerCallback - void executeWithoutSchedules(@NotNull
TriggerableSchedulerCallback triggerableSchedulerCallback)
TriggerableSchedulerCallback and recreates the jobstriggerableSchedulerCallback - void removeAllScheduledJobs(@NotNull
Triggerable triggerable)
Triggerable.
If argument is a Plan this method is equivalent of removeTasksScheduledForPlanAndBranches(ImmutablePlan)triggerable - void scheduleTriggeringJobs(@NotNull
Triggerable triggerable)
Triggerable.
If argument is a Plan this method is equivalent of scheduleTasksForPlanAndBranches(ImmutablePlan)triggerable - Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.