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

All Known Implementing Classes:
ElasticConfigurationImpl

public interface ElasticConfiguration

Represents the configuration of Elastic Bamboo


Method Summary
 AutomaticInstanceManagementConfig getAutomaticInstanceManagementConfig()
           
 int getAutoShutdownDelay()
           
 java.lang.String getAwsAccessKeyId()
           
 java.lang.String getAwsCertFile()
           
 java.lang.String getAwsPrivateKeyFile()
           
 java.lang.String getAwsSecretKey()
           
 java.util.Set<java.lang.String> getIgnoredEips()
           
 int getMaxConcurrentInstances()
           
 com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region getRegion()
           
 SpotInstanceConfig getSpotInstanceConfig()
           
 boolean isAutoShutdownEnabled()
          If automatic shutdown of instances is enabled
 boolean isElasticIpManagementEnabled()
           
 boolean isEnabled()
          Whether or not Elastic Bamboo is enabled or not.
 boolean isUploadingOfAwsAccountDetailsEnabled()
           
 void setAutomaticInstanceManagementConfig(AutomaticInstanceManagementConfig config)
           
 void setAutoShutdownDelay(int autoShutdownDelay)
           
 void setAutoShutdownEnabled(boolean autoShutdownEnabled)
           
 void setAwsAccessKeyId(java.lang.String awsAccessKeyId)
           
 void setAwsCertFile(java.lang.String awsCertFile)
           
 void setAwsPrivateKeyFile(java.lang.String awsPrivateKeyFile)
           
 void setAwsSecretKey(java.lang.String awsSecretKey)
           
 void setElasticIpManagementEnabled(boolean elasticIpManagementEnabled)
           
 void setEnabled(boolean enabled)
           
 void setIgnoredEips(java.lang.Iterable<java.lang.String> ignoredEips)
           
 void setMaxConcurrentInstances(int maxConcurrentInstances)
           
 void setRegion(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region)
           
 void setSpotInstanceConfig(SpotInstanceConfig config)
           
 void setUploadingOfAwsAccountDetailsEnabled(boolean uploadingOfAwsAccountDetailsEnabled)
           
 

Method Detail

getAwsAccessKeyId

java.lang.String getAwsAccessKeyId()
Returns:
AWS Access Key ID

setAwsAccessKeyId

void setAwsAccessKeyId(java.lang.String awsAccessKeyId)

getAwsSecretKey

java.lang.String getAwsSecretKey()
Returns:
Encrypted secret ket for aws account

setAwsSecretKey

void setAwsSecretKey(java.lang.String awsSecretKey)

getMaxConcurrentInstances

int getMaxConcurrentInstances()
Returns:
Max number of elastic agents that can be running at any time.

setMaxConcurrentInstances

void setMaxConcurrentInstances(int maxConcurrentInstances)

isEnabled

boolean isEnabled()
Whether or not Elastic Bamboo is enabled or not.

Returns:
Whether or not Elastic Bamboo is enabled or not

setEnabled

void setEnabled(boolean enabled)

isAutoShutdownEnabled

boolean isAutoShutdownEnabled()
If automatic shutdown of instances is enabled

Returns:
enabled

setAutoShutdownEnabled

void setAutoShutdownEnabled(boolean autoShutdownEnabled)

getAutoShutdownDelay

int getAutoShutdownDelay()
Returns:
shutdown delay in seconds

setAutoShutdownDelay

void setAutoShutdownDelay(int autoShutdownDelay)

getAwsPrivateKeyFile

java.lang.String getAwsPrivateKeyFile()
Returns:
location of the private key file

setAwsPrivateKeyFile

void setAwsPrivateKeyFile(java.lang.String awsPrivateKeyFile)

getAwsCertFile

java.lang.String getAwsCertFile()
Returns:
location of the certificate file

setAwsCertFile

void setAwsCertFile(java.lang.String awsCertFile)

isUploadingOfAwsAccountDetailsEnabled

boolean isUploadingOfAwsAccountDetailsEnabled()
Returns:
uploading of aws acount info enabled (keys, etc)

setUploadingOfAwsAccountDetailsEnabled

void setUploadingOfAwsAccountDetailsEnabled(boolean uploadingOfAwsAccountDetailsEnabled)

getAutomaticInstanceManagementConfig

AutomaticInstanceManagementConfig getAutomaticInstanceManagementConfig()
Returns:
configuration for the Automatic Instance configuration

setAutomaticInstanceManagementConfig

void setAutomaticInstanceManagementConfig(AutomaticInstanceManagementConfig config)

getSpotInstanceConfig

SpotInstanceConfig getSpotInstanceConfig()
Returns:
configuration for the Automatic Instance configuration

setSpotInstanceConfig

void setSpotInstanceConfig(SpotInstanceConfig config)

getIgnoredEips

@Nullable
java.util.Set<java.lang.String> getIgnoredEips()
Returns:
EIPs that will be not be used/deallocated by Bamboo

setIgnoredEips

void setIgnoredEips(@Nullable
                    java.lang.Iterable<java.lang.String> ignoredEips)

isElasticIpManagementEnabled

boolean isElasticIpManagementEnabled()

setElasticIpManagementEnabled

void setElasticIpManagementEnabled(boolean elasticIpManagementEnabled)

getRegion

@NotNull
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region getRegion()

setRegion

void setRegion(@NotNull
               com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.