com.atlassian.bamboo.agent.elastic.server
Interface ElasticImageConfigurationAccessor

All Known Subinterfaces:
ElasticImageConfigurationManager
All Known Implementing Classes:
ElasticImageConfigurationAccessorImpl, ElasticImageConfigurationManagerImpl

public interface ElasticImageConfigurationAccessor


Method Summary
 java.util.List<ElasticImageConfiguration> getAllElasticImageConfigurations()
          Retrieves all elastic imagess that are stored in database
 ElasticImageConfiguration getElasticImageConfigurationById(long configurationId)
          Retrieve an elastic image.
 ElasticImageConfiguration getElasticImageConfigurationByName(java.lang.String configurationName)
          Retrieve an elastic image by name.
 ElasticImageConfiguration getElasticImageConfigurationShippedWithBamboo()
          Retrieve an elastic image configuration shipped with Bamboo
 

Method Detail

getElasticImageConfigurationById

@Nullable
ElasticImageConfiguration getElasticImageConfigurationById(long configurationId)
Retrieve an elastic image.

Parameters:
configurationId - - id of the ElasticImageConfiguration to find
Returns:
ElasticImageConfiguration if exists null otherwise.

getElasticImageConfigurationByName

@Nullable
ElasticImageConfiguration getElasticImageConfigurationByName(java.lang.String configurationName)
Retrieve an elastic image by name.

Parameters:
configurationName - - name of the ElasticImageConfiguration to find
Returns:
ElasticImageConfiguration if exists null otherwise.

getElasticImageConfigurationShippedWithBamboo

@Nullable
ElasticImageConfiguration getElasticImageConfigurationShippedWithBamboo()
Retrieve an elastic image configuration shipped with Bamboo

Returns:
ElasticImageConfiguration if exists null otherwise

getAllElasticImageConfigurations

@NotNull
java.util.List<ElasticImageConfiguration> getAllElasticImageConfigurations()
Retrieves all elastic imagess that are stored in database

Returns:
List


Copyright © 2011 Atlassian. All Rights Reserved.