|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElasticImageConfigurationDao
Method Summary | |
---|---|
ElasticImageConfiguration |
findById(long id)
Get Elastic Image Configuration from its id |
java.util.List<ElasticImageConfiguration> |
getAll()
Get all Elastic Image Configuration objects |
int |
getBuildCountForImageConfigurationId(long id)
Get the number of elastic agents associated with a given image configuration |
int |
getElasticAgentCountForImageConfigurationId(long id)
Returns all elastic agents associated with a specific image configuration |
java.util.List<ElasticAgentDefinition> |
getElasticAgentsForImageConfigurationId(long id)
Retrieves a list of elastic agenst associated with the given elastic image configuration |
java.util.List<ElasticImageConfiguration> |
getElasticImageConfigurationByAmi(java.lang.String amiId)
Retrieves a list of all elastic image configurations that use a specific image. |
ElasticImageConfiguration |
getElasticImageConfigurationByName(java.lang.String name)
Finds an elastic configuration by name. |
ElasticImageConfiguration |
getShippedWithBamboo()
|
void |
remove(ElasticImageConfiguration elasticImageConfiguration)
|
void |
save(ElasticImageConfiguration elasticImageConfiguration)
|
Methods inherited from interface bucket.core.persistence.ObjectDao |
---|
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw |
Method Detail |
---|
@NotNull java.util.List<ElasticImageConfiguration> getAll()
@Nullable ElasticImageConfiguration findById(long id)
findById
in interface BambooObjectDao
id
- Elastic Image Configuration's id
int getElasticAgentCountForImageConfigurationId(long id)
id
- for the image configuration
int getBuildCountForImageConfigurationId(long id)
id
- for the image configuration
@Nullable ElasticImageConfiguration getElasticImageConfigurationByName(java.lang.String name)
name
- to look for
void save(@NotNull ElasticImageConfiguration elasticImageConfiguration)
void remove(@NotNull ElasticImageConfiguration elasticImageConfiguration)
@Nullable ElasticImageConfiguration getShippedWithBamboo()
java.util.List<ElasticAgentDefinition> getElasticAgentsForImageConfigurationId(long id)
id
- of the elasticImageConfiguration
java.util.List<ElasticImageConfiguration> getElasticImageConfigurationByAmi(java.lang.String amiId)
amiId
- to filter with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |