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

java.lang.Object
  extended by com.atlassian.bamboo.agent.elastic.server.ElasticConfiguration
All Implemented Interfaces:
java.io.Serializable

public class ElasticConfiguration
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ElasticConfiguration()
           
 
Method Summary
 int getAutoShutdownDelay()
           
 java.lang.String getAwsAccessKeyId()
           
 java.lang.String getAwsCertFile()
           
 java.lang.String getAwsPrivateKeyFile()
           
 java.lang.String getAwsSecretKey()
           
 int getMaxConcurrentInstances()
           
 boolean isAutoShutdownEnabled()
           
 boolean isEnabled()
          Whether or not Elastic Bamboo is enabled or not.
 boolean isUploadingOfAwsAccountDetailsEnabled()
           
 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 setEnabled(boolean enabled)
           
 void setMaxConcurrentInstances(int maxConcurrentInstances)
           
 void setUploadingOfAwsAccountDetailsEnabled(boolean uploadingOfAwsAccountDetailsEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElasticConfiguration

public ElasticConfiguration()
Method Detail

getAwsAccessKeyId

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

setAwsAccessKeyId

public void setAwsAccessKeyId(java.lang.String awsAccessKeyId)

getAwsSecretKey

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

setAwsSecretKey

public void setAwsSecretKey(java.lang.String awsSecretKey)

getMaxConcurrentInstances

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

setMaxConcurrentInstances

public void setMaxConcurrentInstances(int maxConcurrentInstances)

isEnabled

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

Returns:
Whether or not Elastic Bamboo is enabled or not

setEnabled

public void setEnabled(boolean enabled)

isAutoShutdownEnabled

public boolean isAutoShutdownEnabled()

setAutoShutdownEnabled

public void setAutoShutdownEnabled(boolean autoShutdownEnabled)

getAutoShutdownDelay

public int getAutoShutdownDelay()

setAutoShutdownDelay

public void setAutoShutdownDelay(int autoShutdownDelay)

getAwsPrivateKeyFile

public java.lang.String getAwsPrivateKeyFile()

setAwsPrivateKeyFile

public void setAwsPrivateKeyFile(java.lang.String awsPrivateKeyFile)

getAwsCertFile

public java.lang.String getAwsCertFile()

setAwsCertFile

public void setAwsCertFile(java.lang.String awsCertFile)

isUploadingOfAwsAccountDetailsEnabled

public boolean isUploadingOfAwsAccountDetailsEnabled()

setUploadingOfAwsAccountDetailsEnabled

public void setUploadingOfAwsAccountDetailsEnabled(boolean uploadingOfAwsAccountDetailsEnabled)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.