Interface ElasticInstanceScheduleDao
-
- All Superinterfaces:
BambooObjectDao
,bucket.core.persistence.ObjectDao
- All Known Implementing Classes:
ElasticInstanceScheduleDaoImpl
public interface ElasticInstanceScheduleDao extends BambooObjectDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @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
-
-
-
-
Method Detail
-
remove
void remove(@NotNull @NotNull ElasticInstanceSchedule elasticInstanceSchedule)
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
-
-