com.atlassian.bamboo.schedule
Class DefaultPlanScheduler

java.lang.Object
  extended by com.atlassian.bamboo.schedule.DefaultPlanScheduler
All Implemented Interfaces:
PlanScheduler

public class DefaultPlanScheduler
extends java.lang.Object
implements PlanScheduler


Constructor Summary
DefaultPlanScheduler(ChainBranchManager chainBranchManager)
           
 
Method Summary
 void createSchedulingJobs(Plan plan)
          Creates Scheduling Jobs for the given Plan
 void executeWithoutPlanSchedules(PlanSchedulerCallback planSchedulerCallback)
          Removes the existing scheduling jobs, executes the PlanSchedulerCallback and recreates the jobs
 void removeSchedulingJobs(Plan plan)
          Removes Scheduling Jobs for the given Plan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPlanScheduler

public DefaultPlanScheduler(ChainBranchManager chainBranchManager)
Method Detail

removeSchedulingJobs

public void removeSchedulingJobs(@NotNull
                                 Plan plan)
Description copied from interface: PlanScheduler
Removes Scheduling Jobs for the given Plan

Specified by:
removeSchedulingJobs in interface PlanScheduler

createSchedulingJobs

public void createSchedulingJobs(@NotNull
                                 Plan plan)
Description copied from interface: PlanScheduler
Creates Scheduling Jobs for the given Plan

Specified by:
createSchedulingJobs in interface PlanScheduler

executeWithoutPlanSchedules

public void executeWithoutPlanSchedules(@NotNull
                                        PlanSchedulerCallback planSchedulerCallback)
Description copied from interface: PlanScheduler
Removes the existing scheduling jobs, executes the PlanSchedulerCallback and recreates the jobs

Specified by:
executeWithoutPlanSchedules in interface PlanScheduler


Copyright © 2012 Atlassian. All Rights Reserved.