Class ElasticInstanceScheduleScheduler
- java.lang.Object
-
- com.atlassian.bamboo.agent.elastic.schedule.ElasticInstanceScheduleScheduler
-
- All Implemented Interfaces:
BambooScheduler
public class ElasticInstanceScheduleScheduler extends Object implements BambooScheduler
Sets up the scheduler forElasticInstanceSchedule
-
-
Constructor Summary
Constructors Constructor Description ElasticInstanceScheduleScheduler(ElasticInstanceScheduleDao elasticInstanceScheduleDao, org.quartz.Scheduler quartzScheduler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
Methods inherited from interface com.atlassian.bamboo.schedule.BambooScheduler
destroySchedule
-
-
-
-
Constructor Detail
-
ElasticInstanceScheduleScheduler
public ElasticInstanceScheduleScheduler(ElasticInstanceScheduleDao elasticInstanceScheduleDao, org.quartz.Scheduler quartzScheduler)
-
-
Method Detail
-
initialiseSchedule
public void initialiseSchedule()
- Specified by:
initialiseSchedule
in interfaceBambooScheduler
-
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
-
-