Package com.atlassian.bamboo.schedule
Interface PlanScheduler
- All Known Implementing Classes:
DefaultPlanScheduler
public interface PlanScheduler
Manages scheduled jobs for
Plan
s-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeWithoutPlanSchedules
(@NotNull PlanSchedulerCallback planSchedulerCallback) Removes the existing scheduling jobs, executes thePlanSchedulerCallback
and recreates the jobsvoid
executeWithoutSchedules
(@NotNull TriggerableSchedulerCallback triggerableSchedulerCallback) Removes the existing scheduling jobs, executesTriggerableSchedulerCallback
and recreates the jobsvoid
removeAllScheduledJobs
(@NotNull Triggerable triggerable) Remove all scheduling jobs for aTriggerable
.void
removeTasksScheduledForPlan
(@NotNull ImmutablePlan plan) Removes Scheduling Jobs for the givenPlan
void
removeTasksScheduledForPlanAndBranches
(@NotNull ImmutablePlan plan) Removes Scheduling Jobs for the givenPlan
and its Branchesvoid
scheduleTasksForPlan
(@NotNull ImmutablePlan plan) Creates Scheduling Jobs for the givenPlan
void
scheduleTasksForPlanAndBranches
(@NotNull ImmutablePlan plan) Creates Scheduling Jobs for the givenPlan
and its Branchesvoid
scheduleTriggeringJobs
(@NotNull Triggerable triggerable) Starts all scheduling jobs for aTriggerable
.
-
Method Details
-
removeTasksScheduledForPlan
Removes Scheduling Jobs for the givenPlan
- Parameters:
plan
-
-
scheduleTasksForPlan
Creates Scheduling Jobs for the givenPlan
- Parameters:
plan
-
-
removeTasksScheduledForPlanAndBranches
Removes Scheduling Jobs for the givenPlan
and its Branches- Parameters:
plan
-
-
scheduleTasksForPlanAndBranches
Creates Scheduling Jobs for the givenPlan
and its Branches- Parameters:
plan
-
-
executeWithoutPlanSchedules
Removes the existing scheduling jobs, executes thePlanSchedulerCallback
and recreates the jobs- Parameters:
planSchedulerCallback
-
-
executeWithoutSchedules
void executeWithoutSchedules(@NotNull @NotNull TriggerableSchedulerCallback triggerableSchedulerCallback) Removes the existing scheduling jobs, executesTriggerableSchedulerCallback
and recreates the jobs- Parameters:
triggerableSchedulerCallback
-- Since:
- 5.0
-
removeAllScheduledJobs
Remove all scheduling jobs for aTriggerable
. If argument is aPlan
this method is equivalent ofremoveTasksScheduledForPlanAndBranches(ImmutablePlan)
- Parameters:
triggerable
-- Since:
- 5.0
-
scheduleTriggeringJobs
Starts all scheduling jobs for aTriggerable
. If argument is aPlan
this method is equivalent ofscheduleTasksForPlanAndBranches(ImmutablePlan)
- Parameters:
triggerable
-- Since:
- 5.0
-