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