|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.agent.elastic.schedule.ElasticInstanceScheduleManagerImpl
public class ElasticInstanceScheduleManagerImpl
Constructor Summary | |
---|---|
ElasticInstanceScheduleManagerImpl(ElasticInstanceScheduleDao elasticInstanceScheduleDao,
ElasticInstanceScheduleScheduler elasticInstanceScheduleScheduler)
|
Method Summary | |
---|---|
ElasticInstanceSchedule |
getElasticInstanceSchedule(long elasticInstanceScheduleId)
Gets the schedule associated with that id. |
java.util.List<ElasticInstanceSchedule> |
getElasticInstanceSchedules()
Returns all schedules available in the system (enabled and disabled) |
void |
removeElasticInstanceSchedule(long elasticInstanceScheduleId)
Remove scheudle and associated cron trigger |
void |
saveElasticInstanceSchedule(ElasticInstanceSchedule schedule)
Updates or creates the schedule. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElasticInstanceScheduleManagerImpl(ElasticInstanceScheduleDao elasticInstanceScheduleDao, ElasticInstanceScheduleScheduler elasticInstanceScheduleScheduler)
Method Detail |
---|
@NotNull public java.util.List<ElasticInstanceSchedule> getElasticInstanceSchedules()
ElasticInstanceScheduleManager
getElasticInstanceSchedules
in interface ElasticInstanceScheduleManager
public ElasticInstanceSchedule getElasticInstanceSchedule(long elasticInstanceScheduleId)
ElasticInstanceScheduleManager
getElasticInstanceSchedule
in interface ElasticInstanceScheduleManager
public void saveElasticInstanceSchedule(ElasticInstanceSchedule schedule)
ElasticInstanceScheduleManager
saveElasticInstanceSchedule
in interface ElasticInstanceScheduleManager
public void removeElasticInstanceSchedule(long elasticInstanceScheduleId)
ElasticInstanceScheduleManager
removeElasticInstanceSchedule
in interface ElasticInstanceScheduleManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |