com.atlassian.bamboo.configuration
Class AdministrationConfiguration

java.lang.Object
  extended by com.atlassian.bamboo.configuration.AdministrationConfiguration
All Implemented Interfaces:
java.io.Serializable

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

This class is a POJO holding the administrator supplied configuration.

See Also:
Serialized Form

Field Summary
static int DEFAULT_BUILD_IN_QUEUE_TIMEOUT
           
static java.lang.String DEFAULT_URL
           
 
Constructor Summary
AdministrationConfiguration()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Auto-generated, reflection based equals
 java.lang.String getBaseUrl()
          What is the base url for this server?
 BuildExpiryConfig getBuildExpiryConfig()
           
 int getBuildHangedInQueueNotificationTimeout()
           
 BuildHangingConfig getBuildHangingConfig()
           
 CaptchaConfiguration getCaptchaConfiguration()
           
 ElasticConfiguration getElasticConfig()
           
 java.lang.String getGlobalVariable(java.lang.String key)
           
 java.util.Map<java.lang.String,java.lang.String> getGlobalVariables()
           
 java.lang.String getInstanceName()
           
 ScheduleBackupConfiguration getScheduleBackupConfiguration()
           
 java.lang.String getSystemProperty(java.lang.String key)
           
 int hashCode()
          Auto-generated, reflection based hashcode
 boolean isEnableAnonymousAccess()
           
 boolean isEnableExternalUserManagement()
           
 boolean isEnableRestrictedAdmin()
           
 boolean isEnableSignup()
           
 boolean isEnableViewContactDetails()
           
 boolean isRemoteAgentFunctionEnabled()
           
 boolean isRemoteApiEnabled()
           
 boolean isUseGzipCompression()
          Should we use gzip compression to compress Bamboo web pages?

This is useful if Bamboo is being run over slow networks.

 void removeGlobalVariable(java.lang.String key)
           
 void setBaseUrl(java.lang.String baseUrl)
          Define the system base url
 void setBuildExpiryConfig(BuildExpiryConfig buildExpiryConfig)
           
 void setBuildHangedInQueueNotificationTimeout(int buildHangedInQueueNotificationTimeout)
           
 void setBuildHangingConfig(BuildHangingConfig myBuildHangingConfig)
           
 void setCaptchaConfiguration(CaptchaConfiguration captchaConfiguration)
           
 void setElasticConfig(ElasticConfiguration elasticConfig)
           
 void setEnableAnonymousAccess(boolean enableAnonymousAccess)
           
 void setEnableExternalUserManagement(boolean enableExternalUserManagement)
           
 void setEnableRemoteApi(boolean enableRemoteApi)
           
 void setEnableRestrictedAdmin(boolean enableRestrictedAdmin)
           
 void setEnableSignup(boolean enableSignup)
           
 void setEnableViewContactDetails(boolean enableViewContactDetails)
           
 void setGlobalVariable(java.lang.String key, java.lang.String value)
           
 void setInstanceName(java.lang.String instanceName)
           
 void setRemoteAgentFunctionEnabled(boolean enabled)
           
 void setScheduleBackupConfiguration(ScheduleBackupConfiguration scheduleBackupConfiguration)
           
 void setSystemProperty(java.lang.String key, java.lang.String value)
           
 void setUseGzipCompression(boolean useGzipCompression)
          Specify if we should we use gzip compression to compress Bamboo web pages.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_URL

public static final java.lang.String DEFAULT_URL
See Also:
Constant Field Values

DEFAULT_BUILD_IN_QUEUE_TIMEOUT

public static final int DEFAULT_BUILD_IN_QUEUE_TIMEOUT
See Also:
Constant Field Values
Constructor Detail

AdministrationConfiguration

public AdministrationConfiguration()
Method Detail

getBaseUrl

public java.lang.String getBaseUrl()
What is the base url for this server?

Returns:
the base url

setBaseUrl

public void setBaseUrl(java.lang.String baseUrl)
Define the system base url

Parameters:
baseUrl - the url

isUseGzipCompression

public boolean isUseGzipCompression()
Should we use gzip compression to compress Bamboo web pages?

This is useful if Bamboo is being run over slow networks. It incurs a slight performance penalty, and may not work for non-english languages.

Returns:
true iff we require gzip compression

setUseGzipCompression

public void setUseGzipCompression(boolean useGzipCompression)
Specify if we should we use gzip compression to compress Bamboo web pages.

Parameters:
useGzipCompression -

isEnableSignup

public boolean isEnableSignup()

setEnableSignup

public void setEnableSignup(boolean enableSignup)

isEnableAnonymousAccess

public boolean isEnableAnonymousAccess()

setEnableAnonymousAccess

public void setEnableAnonymousAccess(boolean enableAnonymousAccess)

isEnableExternalUserManagement

public boolean isEnableExternalUserManagement()

getCaptchaConfiguration

public CaptchaConfiguration getCaptchaConfiguration()

setCaptchaConfiguration

public void setCaptchaConfiguration(CaptchaConfiguration captchaConfiguration)

setEnableExternalUserManagement

public void setEnableExternalUserManagement(boolean enableExternalUserManagement)

isEnableViewContactDetails

public boolean isEnableViewContactDetails()

setEnableViewContactDetails

public void setEnableViewContactDetails(boolean enableViewContactDetails)

isRemoteApiEnabled

public boolean isRemoteApiEnabled()

setEnableRemoteApi

public void setEnableRemoteApi(boolean enableRemoteApi)

setBuildExpiryConfig

public void setBuildExpiryConfig(BuildExpiryConfig buildExpiryConfig)

getBuildExpiryConfig

public BuildExpiryConfig getBuildExpiryConfig()

getElasticConfig

@Nullable
public ElasticConfiguration getElasticConfig()

setElasticConfig

public void setElasticConfig(ElasticConfiguration elasticConfig)

equals

public boolean equals(java.lang.Object o)
Auto-generated, reflection based equals

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Auto-generated, reflection based hashcode

Overrides:
hashCode in class java.lang.Object

setSystemProperty

public void setSystemProperty(java.lang.String key,
                              java.lang.String value)

getSystemProperty

public java.lang.String getSystemProperty(java.lang.String key)

setGlobalVariable

public void setGlobalVariable(java.lang.String key,
                              java.lang.String value)

getGlobalVariable

@Nullable
public java.lang.String getGlobalVariable(java.lang.String key)

removeGlobalVariable

public void removeGlobalVariable(java.lang.String key)

getGlobalVariables

@NotNull
public java.util.Map<java.lang.String,java.lang.String> getGlobalVariables()

getScheduleBackupConfiguration

public ScheduleBackupConfiguration getScheduleBackupConfiguration()

setScheduleBackupConfiguration

public void setScheduleBackupConfiguration(ScheduleBackupConfiguration scheduleBackupConfiguration)

getInstanceName

public java.lang.String getInstanceName()

setInstanceName

public void setInstanceName(java.lang.String instanceName)

isRemoteAgentFunctionEnabled

public boolean isRemoteAgentFunctionEnabled()

setRemoteAgentFunctionEnabled

public void setRemoteAgentFunctionEnabled(boolean enabled)

getBuildHangingConfig

public BuildHangingConfig getBuildHangingConfig()

setBuildHangingConfig

public void setBuildHangingConfig(BuildHangingConfig myBuildHangingConfig)

getBuildHangedInQueueNotificationTimeout

public int getBuildHangedInQueueNotificationTimeout()

setBuildHangedInQueueNotificationTimeout

public void setBuildHangedInQueueNotificationTimeout(int buildHangedInQueueNotificationTimeout)

isEnableRestrictedAdmin

public boolean isEnableRestrictedAdmin()

setEnableRestrictedAdmin

public void setEnableRestrictedAdmin(boolean enableRestrictedAdmin)


Copyright © 2010 Atlassian. All Rights Reserved.