com.atlassian.bamboo.agent.elastic.schedule
Class ElasticInstanceScheduleScheduler

java.lang.Object
  extended by com.atlassian.bamboo.agent.elastic.schedule.ElasticInstanceScheduleScheduler
All Implemented Interfaces:
BambooScheduler

public class ElasticInstanceScheduleScheduler
extends java.lang.Object
implements BambooScheduler

Sets up the scheduler for ElasticInstanceSchedule


Constructor Summary
ElasticInstanceScheduleScheduler(ElasticInstanceScheduleDao elasticInstanceScheduleDao, org.quartz.Scheduler quartzScheduler)
           
 
Method Summary
 org.quartz.Trigger getQuartzTrigger(ElasticInstanceSchedule schedule)
           
 void initialiseSchedule()
           
 void scheduleElasticInstanceSchedule(ElasticInstanceSchedule schedule, boolean updateSchedule)
           
 void unscheduleElasticInstanceSchedule(ElasticInstanceSchedule schedule)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElasticInstanceScheduleScheduler

public ElasticInstanceScheduleScheduler(ElasticInstanceScheduleDao elasticInstanceScheduleDao,
                                        org.quartz.Scheduler quartzScheduler)
Method Detail

initialiseSchedule

public void initialiseSchedule()
Specified by:
initialiseSchedule in interface BambooScheduler

unscheduleElasticInstanceSchedule

public void unscheduleElasticInstanceSchedule(ElasticInstanceSchedule schedule)

scheduleElasticInstanceSchedule

public void scheduleElasticInstanceSchedule(ElasticInstanceSchedule schedule,
                                            boolean updateSchedule)

getQuartzTrigger

public org.quartz.Trigger getQuartzTrigger(ElasticInstanceSchedule schedule)
                                    throws org.quartz.SchedulerException
Throws:
org.quartz.SchedulerException


Copyright © 2010 Atlassian. All Rights Reserved.