com.atlassian.bamboo.plugins.rest.resource
Class ElasticConfigResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.resource.ElasticConfigResource
public class ElasticConfigResource
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElasticConfigResource
public ElasticConfigResource(ElasticImageConfigurationManager elasticImageConfigurationManager,
ElasticAccountBean elasticAccountBean,
AwsAccountBean awsAccountBean,
RestHelperWrapper restHelperWrapper,
AdministrationConfigurationAccessor administrationConfigurationAccessor)
getAll
public List<RestElasticImageConfig> getAll()
getConfiguration
public RestElasticImageConfig getConfiguration(Long configurationId)
throws NotFoundException
- Throws:
NotFoundException
getConfigurationByName
@Deprecated
public RestElasticImageConfig getConfigurationByName(String configurationName)
- Deprecated. since 5.8
createImageConfiguration
public RestElasticImageConfig createImageConfiguration(RestElasticImageConfig restConfiguration)
throws com.atlassian.aws.AWSException
- Throws:
com.atlassian.aws.AWSException
updateConfiguration
public RestElasticImageConfig updateConfiguration(Long configurationId,
RestElasticImageConfig newElasticImageConfiguration)
throws com.atlassian.aws.AWSException
- Throws:
com.atlassian.aws.AWSException
updateConfigurationByName
@Deprecated
public RestElasticImageConfig updateConfigurationByName(String configurationName,
RestElasticImageConfig newElasticImageConfiguration)
throws com.atlassian.aws.AWSException
- Deprecated. since 5.8
- Throws:
com.atlassian.aws.AWSException
deleteConfiguration
public javax.ws.rs.core.Response deleteConfiguration(Long configurationId)
throws Exception
- Throws:
Exception
deleteConfigurationByName
@Deprecated
public javax.ws.rs.core.Response deleteConfigurationByName(String configurationName)
throws Exception
- Deprecated. since 5.8
- Throws:
Exception
updateAllImageIds
public int updateAllImageIds(String imageId,
String newImageId)
setElasticImageConfigurationManager
public void setElasticImageConfigurationManager(ElasticImageConfigurationManager elasticImageConfigurationManager)
getDefaultAvailabilityZone
public String getDefaultAvailabilityZone()
setElasticAccountBean
public void setElasticAccountBean(ElasticAccountBean elasticAccountBean)
setAwsAccountBean
public void setAwsAccountBean(AwsAccountBean awsAccountBean)
setRestHelperWrapper
public void setRestHelperWrapper(RestHelperWrapper restHelperWrapper)
setI18nBean
public void setI18nBean(I18nBean i18nBean)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.