com.atlassian.bamboo.agent.elastic.server
Class ElasticImageConfigurationAccessorImpl

java.lang.Object
  extended by com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationAccessorImpl
All Implemented Interfaces:
ElasticImageConfigurationAccessor

public class ElasticImageConfigurationAccessorImpl
extends java.lang.Object
implements ElasticImageConfigurationAccessor


Constructor Summary
ElasticImageConfigurationAccessorImpl(ElasticImageConfigurationDao elasticImageConfigurationDao)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElasticImageConfigurationAccessorImpl

public ElasticImageConfigurationAccessorImpl(@NotNull
                                             ElasticImageConfigurationDao elasticImageConfigurationDao)
Method Detail

getElasticImageConfigurationById

@Nullable
public ElasticImageConfiguration getElasticImageConfigurationById(long configurationId)
Description copied from interface: ElasticImageConfigurationAccessor
Retrieve an elastic image.

Specified by:
getElasticImageConfigurationById in interface ElasticImageConfigurationAccessor
Parameters:
configurationId - - id of the ElasticImageConfiguration to find
Returns:
ElasticImageConfiguration if exists null otherwise.

getElasticImageConfigurationByName

@Nullable
public ElasticImageConfiguration getElasticImageConfigurationByName(java.lang.String configurationName)
Description copied from interface: ElasticImageConfigurationAccessor
Retrieve an elastic image by name.

Specified by:
getElasticImageConfigurationByName in interface ElasticImageConfigurationAccessor
Parameters:
configurationName - - name of the ElasticImageConfiguration to find
Returns:
ElasticImageConfiguration if exists null otherwise.

getElasticImageConfigurationShippedWithBamboo

@Nullable
public ElasticImageConfiguration getElasticImageConfigurationShippedWithBamboo()
Description copied from interface: ElasticImageConfigurationAccessor
Retrieve an elastic image configuration shipped with Bamboo

Specified by:
getElasticImageConfigurationShippedWithBamboo in interface ElasticImageConfigurationAccessor
Returns:
ElasticImageConfiguration if exists null otherwise

getAllElasticImageConfigurations

@NotNull
public java.util.List<ElasticImageConfiguration> getAllElasticImageConfigurations()
Description copied from interface: ElasticImageConfigurationAccessor
Retrieves all elastic imagess that are stored in database

Specified by:
getAllElasticImageConfigurations in interface ElasticImageConfigurationAccessor
Returns:
List


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.