public class ElasticImageConfigurationAccessorImpl extends Object implements ElasticImageConfigurationAccessor
Constructor and Description |
---|
ElasticImageConfigurationAccessorImpl(ElasticImageConfigurationDao elasticImageConfigurationDao,
AdministrationConfigurationAccessor administrationConfigurationAccessor) |
Modifier and Type | Method and Description |
---|---|
List<ElasticImageConfiguration> |
getAllElasticImageConfigurations()
Retrieves all elastic images that are stored in database
|
List<ElasticImageConfiguration> |
getAllElasticImageConfigurationsForCurrentRegion() |
ElasticImageConfiguration |
getElasticImageConfigurationById(long configurationId)
Retrieve an elastic image.
|
List<ElasticImageConfiguration> |
getElasticImageConfigurationsByName(String configurationName,
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region)
Retrieve an elastic image by name in a given region.
|
List<ElasticImageConfiguration> |
getElasticImageConfigurationsShippedWithBamboo() |
public ElasticImageConfigurationAccessorImpl(@NotNull ElasticImageConfigurationDao elasticImageConfigurationDao, AdministrationConfigurationAccessor administrationConfigurationAccessor)
@Nullable public ElasticImageConfiguration getElasticImageConfigurationById(long configurationId)
ElasticImageConfigurationAccessor
getElasticImageConfigurationById
in interface ElasticImageConfigurationAccessor
configurationId
- - id of the ElasticImageConfiguration to find@NotNull public List<ElasticImageConfiguration> getElasticImageConfigurationsByName(@NotNull String configurationName, @NotNull com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region)
ElasticImageConfigurationAccessor
getElasticImageConfigurationsByName
in interface ElasticImageConfigurationAccessor
configurationName
- - name of the ElasticImageConfiguration to findregion
- the region to check@NotNull public List<ElasticImageConfiguration> getElasticImageConfigurationsShippedWithBamboo()
getElasticImageConfigurationsShippedWithBamboo
in interface ElasticImageConfigurationAccessor
@NotNull public List<ElasticImageConfiguration> getAllElasticImageConfigurations()
ElasticImageConfigurationAccessor
getAllElasticImageConfigurations
in interface ElasticImageConfigurationAccessor
@NotNull public List<ElasticImageConfiguration> getAllElasticImageConfigurationsForCurrentRegion()
getAllElasticImageConfigurationsForCurrentRegion
in interface ElasticImageConfigurationAccessor
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.