com.atlassian.bamboo.agent.elastic.schedule
Interface ElasticInstanceScheduleDao

All Superinterfaces:
BambooObjectDao, bucket.core.persistence.ObjectDao
All Known Implementing Classes:
ElasticInstanceScheduleDaoImpl

public interface ElasticInstanceScheduleDao
extends BambooObjectDao


Method Summary
 List<ElasticInstanceSchedule> findElasticInstanceScheduleByImageConfiguration(ElasticImageConfiguration elasticImageConfiguration)
          Returns schedules related to ElasticImageConfiguration (both enabled and disabled)
 void remove(ElasticInstanceSchedule elasticInstanceSchedule)
          Remove ElasticInstanceSchedule
 
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 Detail

remove

void remove(@NotNull
            ElasticInstanceSchedule elasticInstanceSchedule)
Remove ElasticInstanceSchedule

Parameters:
elasticInstanceSchedule - ElasticInstanceSchedule to be removed

findElasticInstanceScheduleByImageConfiguration

@NotNull
List<ElasticInstanceSchedule> findElasticInstanceScheduleByImageConfiguration(@NotNull
                                                                                      ElasticImageConfiguration elasticImageConfiguration)
Returns schedules related to ElasticImageConfiguration (both enabled and disabled)

Parameters:
elasticImageConfiguration - ElasticImageConfiguration object
Returns:
List of ElasticInstanceSchedule or empty list if nothing was found


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.