Package com.atlassian.bamboo.schedule
Class DefaultPlanScheduler
java.lang.Object
com.atlassian.bamboo.schedule.DefaultPlanScheduler
- All Implemented Interfaces:
PlanScheduler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteWithoutPlanSchedules(@NotNull PlanSchedulerCallback planSchedulerCallback) Removes the existing scheduling jobs, executes thePlanSchedulerCallbackand recreates the jobsvoidexecuteWithoutSchedules(@NotNull TriggerableSchedulerCallback callback) 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 BranchesvoidremoveTasksScheduledForTriggerable(@NotNull Triggerable triggerable) voidscheduleTasksForPlan(@NotNull ImmutablePlan plan) Creates Scheduling Jobs for the givenPlanvoidscheduleTasksForPlanAndBranches(@NotNull ImmutablePlan plan) Creates Scheduling Jobs for the givenPlanand its BranchesvoidscheduleTasksForTriggerable(@NotNull Triggerable triggerable) voidscheduleTriggeringJobs(@NotNull Triggerable triggerable) Starts all scheduling jobs for aTriggerable.
-
Constructor Details
-
DefaultPlanScheduler
-
-
Method Details
-
removeTasksScheduledForTriggerable
-
removeTasksScheduledForPlan
Description copied from interface:PlanSchedulerRemoves Scheduling Jobs for the givenPlan- Specified by:
removeTasksScheduledForPlanin interfacePlanScheduler
-
scheduleTasksForTriggerable
-
scheduleTasksForPlan
Description copied from interface:PlanSchedulerCreates Scheduling Jobs for the givenPlan- Specified by:
scheduleTasksForPlanin interfacePlanScheduler
-
removeTasksScheduledForPlanAndBranches
Description copied from interface:PlanSchedulerRemoves Scheduling Jobs for the givenPlanand its Branches- Specified by:
removeTasksScheduledForPlanAndBranchesin interfacePlanScheduler
-
scheduleTasksForPlanAndBranches
Description copied from interface:PlanSchedulerCreates Scheduling Jobs for the givenPlanand its Branches- Specified by:
scheduleTasksForPlanAndBranchesin interfacePlanScheduler
-
executeWithoutPlanSchedules
public void executeWithoutPlanSchedules(@NotNull @NotNull PlanSchedulerCallback planSchedulerCallback) Description copied from interface:PlanSchedulerRemoves the existing scheduling jobs, executes thePlanSchedulerCallbackand recreates the jobs- Specified by:
executeWithoutPlanSchedulesin interfacePlanScheduler
-
executeWithoutSchedules
Description copied from interface:PlanSchedulerRemoves the existing scheduling jobs, executesTriggerableSchedulerCallbackand recreates the jobs- Specified by:
executeWithoutSchedulesin interfacePlanScheduler
-
removeAllScheduledJobs
Description copied from interface:PlanSchedulerRemove all scheduling jobs for aTriggerable. If argument is aPlanthis method is equivalent ofPlanScheduler.removeTasksScheduledForPlanAndBranches(ImmutablePlan)- Specified by:
removeAllScheduledJobsin interfacePlanScheduler
-
scheduleTriggeringJobs
Description copied from interface:PlanSchedulerStarts all scheduling jobs for aTriggerable. If argument is aPlanthis method is equivalent ofPlanScheduler.scheduleTasksForPlanAndBranches(ImmutablePlan)- Specified by:
scheduleTriggeringJobsin interfacePlanScheduler
-