|
||||||||||
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. |
java.util.List<ElasticImageConfiguration> |
getImages(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region,
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.RootDeviceType rootDeviceType,
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Architecture architectureType,
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform platform,
java.lang.Boolean shippedWithBamboo)
|
ElasticImageConfiguration |
getShippedWithBamboo()
Deprecated. since 3.3 use #getImages(AwsSupportConstants.Region, AwsSupportConstants.RootDeviceType, AwsSupportConstants.ArchitectureType, AwsSupportConstants.Platform, boolean |
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 @Deprecated ElasticImageConfiguration getShippedWithBamboo()
#getImages(AwsSupportConstants.Region, AwsSupportConstants.RootDeviceType, AwsSupportConstants.ArchitectureType, AwsSupportConstants.Platform, boolean
@Nullable java.util.List<ElasticImageConfiguration> getImages(@Nullable com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region, @Nullable com.atlassian.aws.ec2.awssdk.AwsSupportConstants.RootDeviceType rootDeviceType, @Nullable com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Architecture architectureType, @Nullable com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform platform, @Nullable java.lang.Boolean shippedWithBamboo)
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 |