Interface ElasticInstanceScheduleDao
- All Superinterfaces:
BambooObjectDao
,bucket.core.persistence.ObjectDao
- All Known Implementing Classes:
ElasticInstanceScheduleDaoImpl
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<ElasticInstanceSchedule>
findElasticInstanceScheduleByImageConfiguration
(@NotNull ElasticImageConfiguration elasticImageConfiguration) Returns schedules related toElasticImageConfiguration
(both enabled and disabled)void
remove
(@NotNull ElasticInstanceSchedule elasticInstanceSchedule) RemoveElasticInstanceSchedule
Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao
findById
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
-
Method Details
-
remove
RemoveElasticInstanceSchedule
- Parameters:
elasticInstanceSchedule
-ElasticInstanceSchedule
to be removed
-
findElasticInstanceScheduleByImageConfiguration
@NotNull @NotNull List<ElasticInstanceSchedule> findElasticInstanceScheduleByImageConfiguration(@NotNull @NotNull ElasticImageConfiguration elasticImageConfiguration) Returns schedules related toElasticImageConfiguration
(both enabled and disabled)- Parameters:
elasticImageConfiguration
-ElasticImageConfiguration
object- Returns:
- List of
ElasticInstanceSchedule
or empty list if nothing was found
-