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()
           
 
Method Summary
 void createSchedulingJobs(Plan plan)
          Creates Scheduling Jobs for the given Plan
 void executeWithoutPlanSchdules(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()
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

executeWithoutPlanSchdules

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

Specified by:
executeWithoutPlanSchdules in interface PlanScheduler


Copyright © 2010 Atlassian. All Rights Reserved.