Class ElasticInstanceScheduleScheduler
java.lang.Object
com.atlassian.bamboo.agent.elastic.schedule.ElasticInstanceScheduleScheduler
- All Implemented Interfaces:
BambooScheduler
Sets up the scheduler for
ElasticInstanceSchedule
-
Constructor Summary
ConstructorDescriptionElasticInstanceScheduleScheduler
(ElasticInstanceScheduleDao elasticInstanceScheduleDao, org.quartz.Scheduler quartzScheduler) -
Method Summary
Modifier and TypeMethodDescriptionorg.quartz.Trigger
getQuartzTrigger
(ElasticInstanceSchedule schedule) void
void
scheduleElasticInstanceSchedule
(ElasticInstanceSchedule schedule, boolean updateSchedule) void
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 Details
-
ElasticInstanceScheduleScheduler
public ElasticInstanceScheduleScheduler(ElasticInstanceScheduleDao elasticInstanceScheduleDao, org.quartz.Scheduler quartzScheduler)
-
-
Method Details
-
initialiseSchedule
public void initialiseSchedule()- Specified by:
initialiseSchedule
in interfaceBambooScheduler
-
unscheduleElasticInstanceSchedule
-
scheduleElasticInstanceSchedule
public void scheduleElasticInstanceSchedule(ElasticInstanceSchedule schedule, boolean updateSchedule) -
getQuartzTrigger
public org.quartz.Trigger getQuartzTrigger(ElasticInstanceSchedule schedule) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-