Package com.atlassian.bamboo.schedule
Interface PlanScheduler
- All Known Implementing Classes:
DefaultPlanScheduler
public interface PlanScheduler
Manages scheduled jobs for
Plans-
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteWithoutPlanSchedules(@NotNull PlanSchedulerCallback planSchedulerCallback) Removes the existing scheduling jobs, executes thePlanSchedulerCallbackand recreates the jobsvoidexecuteWithoutSchedules(@NotNull TriggerableSchedulerCallback triggerableSchedulerCallback) Removes the existing scheduling jobs, executesTriggerableSchedulerCallbackand recreates the jobsvoidremoveAllScheduledJobs(@NotNull Triggerable triggerable) Remove all scheduling jobs for aTriggerable.voidremoveTasksScheduledForPlan(@NotNull ImmutablePlan plan) Removes Scheduling Jobs for the givenPlanvoidremoveTasksScheduledForPlanAndBranches(@NotNull ImmutablePlan plan) Removes Scheduling Jobs for the givenPlanand its BranchesvoidscheduleTasksForPlan(@NotNull ImmutablePlan plan) Creates Scheduling Jobs for the givenPlanvoidscheduleTasksForPlanAndBranches(@NotNull ImmutablePlan plan) Creates Scheduling Jobs for the givenPlanand its BranchesvoidscheduleTriggeringJobs(@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 givenPlanand its Branches- Parameters:
plan-
-
scheduleTasksForPlanAndBranches
Creates Scheduling Jobs for the givenPlanand its Branches- Parameters:
plan-
-
executeWithoutPlanSchedules
Removes the existing scheduling jobs, executes thePlanSchedulerCallbackand recreates the jobs- Parameters:
planSchedulerCallback-
-
executeWithoutSchedules
void executeWithoutSchedules(@NotNull @NotNull TriggerableSchedulerCallback triggerableSchedulerCallback) Removes the existing scheduling jobs, executesTriggerableSchedulerCallbackand recreates the jobs- Parameters:
triggerableSchedulerCallback-- Since:
- 5.0
-
removeAllScheduledJobs
Remove all scheduling jobs for aTriggerable. If argument is aPlanthis method is equivalent ofremoveTasksScheduledForPlanAndBranches(ImmutablePlan)- Parameters:
triggerable-- Since:
- 5.0
-
scheduleTriggeringJobs
Starts all scheduling jobs for aTriggerable. If argument is aPlanthis method is equivalent ofscheduleTasksForPlanAndBranches(ImmutablePlan)- Parameters:
triggerable-- Since:
- 5.0
-