Package com.atlassian.bamboo.schedule
Class DefaultPlanScheduler
java.lang.Object
com.atlassian.bamboo.schedule.DefaultPlanScheduler
- All Implemented Interfaces:
PlanScheduler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeWithoutPlanSchedules
(@NotNull PlanSchedulerCallback planSchedulerCallback) Removes the existing scheduling jobs, executes thePlanSchedulerCallback
and recreates the jobsvoid
executeWithoutSchedules
(@NotNull TriggerableSchedulerCallback callback) 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
removeTasksScheduledForTriggerable
(@NotNull Triggerable triggerable) void
scheduleTasksForPlan
(@NotNull ImmutablePlan plan) Creates Scheduling Jobs for the givenPlan
void
scheduleTasksForPlanAndBranches
(@NotNull ImmutablePlan plan) Creates Scheduling Jobs for the givenPlan
and its Branchesvoid
scheduleTasksForTriggerable
(@NotNull Triggerable triggerable) void
scheduleTriggeringJobs
(@NotNull Triggerable triggerable) Starts all scheduling jobs for aTriggerable
.
-
Constructor Details
-
DefaultPlanScheduler
-
-
Method Details
-
removeTasksScheduledForTriggerable
-
removeTasksScheduledForPlan
Description copied from interface:PlanScheduler
Removes Scheduling Jobs for the givenPlan
- Specified by:
removeTasksScheduledForPlan
in interfacePlanScheduler
-
scheduleTasksForTriggerable
-
scheduleTasksForPlan
Description copied from interface:PlanScheduler
Creates Scheduling Jobs for the givenPlan
- Specified by:
scheduleTasksForPlan
in interfacePlanScheduler
-
removeTasksScheduledForPlanAndBranches
Description copied from interface:PlanScheduler
Removes Scheduling Jobs for the givenPlan
and its Branches- Specified by:
removeTasksScheduledForPlanAndBranches
in interfacePlanScheduler
-
scheduleTasksForPlanAndBranches
Description copied from interface:PlanScheduler
Creates Scheduling Jobs for the givenPlan
and its Branches- Specified by:
scheduleTasksForPlanAndBranches
in interfacePlanScheduler
-
executeWithoutPlanSchedules
public void executeWithoutPlanSchedules(@NotNull @NotNull PlanSchedulerCallback planSchedulerCallback) Description copied from interface:PlanScheduler
Removes the existing scheduling jobs, executes thePlanSchedulerCallback
and recreates the jobs- Specified by:
executeWithoutPlanSchedules
in interfacePlanScheduler
-
executeWithoutSchedules
Description copied from interface:PlanScheduler
Removes the existing scheduling jobs, executesTriggerableSchedulerCallback
and recreates the jobs- Specified by:
executeWithoutSchedules
in interfacePlanScheduler
-
removeAllScheduledJobs
Description copied from interface:PlanScheduler
Remove all scheduling jobs for aTriggerable
. If argument is aPlan
this method is equivalent ofPlanScheduler.removeTasksScheduledForPlanAndBranches(ImmutablePlan)
- Specified by:
removeAllScheduledJobs
in interfacePlanScheduler
-
scheduleTriggeringJobs
Description copied from interface:PlanScheduler
Starts all scheduling jobs for aTriggerable
. If argument is aPlan
this method is equivalent ofPlanScheduler.scheduleTasksForPlanAndBranches(ImmutablePlan)
- Specified by:
scheduleTriggeringJobs
in interfacePlanScheduler
-