com.atlassian.bamboo.configuration
Interface AdministrationConfigurationInterface

All Known Implementing Classes:
AdministrationConfiguration, AdministrationConfigurationImpl

@Internal
public interface AdministrationConfigurationInterface

Administration configuration interface. When adding stuff please try keep alphabetical order of properties.


Method Summary
 boolean doesXsrfAllowMutativeGets()
           
 String getBaseUrl()
          What is the base url for this server?
 int getBranchDetectionCheckInterval()
          Get the interval between branch detection, in seconds (default is 300)
 BuildExpiryConfig getBuildExpiryConfig()
           
 BuildHangingConfig getBuildHangingConfig()
           
 CaptchaConfiguration getCaptchaConfiguration()
           
 ConcurrentBuildConfig getConcurrentBuildConfig()
           
 int getDashboardPageSize()
           
 DeploymentExpiryConfig getDeploymentExpiryConfig()
           
 ElasticConfiguration getElasticConfig()
           
 String getGravatarServerUrl()
           
 String getInstanceName()
           
 QuarantineConfiguration getQuarantineConfiguration()
           
 RepositorySettings getRepositorySettings()
           
 boolean getResolveArtifactContentTypeByExtension()
          Use correct Content-Type header when return artifact content.
 ScheduleBackupConfiguration getScheduleBackupConfiguration()
           
 StorageLimits getStorageLimit()
          Storage limits configuration.
 String getSystemProperty(String key)
          Deprecated. since 6.0. Use BandanaManager for key-value storage.
 boolean isAuditLoggingEnabled()
           
 boolean isDeploymentExpiryEnabled()
          Returns true if deployments expiry is enabled.
 boolean isEnableAnonymousAccess()
           
 boolean isEnableExternalUserManagement()
           
 boolean isEnableRestrictedAdmin()
           
 boolean isEnableSignup()
           
 boolean isEnableViewContactDetails()
           
 boolean isGravatarSupportEnabled()
           
 boolean isRemoteAgentAuthenticationEnabled()
           
 boolean isRemoteAgentFunctionEnabled()
           
 boolean isTestQuarantineEnabled()
          Deprecated. since 6.0 - use getQuarantineConfiguration() and then QuarantineConfiguration.isEnabled()
 boolean isUseGzipCompression()
          Should we use gzip compression to compress Bamboo web pages?

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

 boolean isXsrfProtectionEnabled()
           
 void setAuditLoggingEnabled(boolean auditLoggingEnabled)
           
 void setBaseUrl(String baseUrl)
          Define the system base url
 void setBranchDetectionCheckInterval(int branchDetectionCheckInterval)
          Set the interval between branch detection, in seconds
 void setBuildExpiryConfig(BuildExpiryConfig buildExpiryConfig)
           
 void setBuildHangingConfig(BuildHangingConfig myBuildHangingConfig)
           
 void setDashboardPageSize(int dashboardPageSize)
           
 void setDeploymentExpiryConfig(DeploymentExpiryConfig deploymentExpiryConfig)
           
 void setDeploymentExpiryEnabled(boolean deploymentExpiryEnabled)
          Enable or disable deployment expiry
 void setElasticConfig(ElasticConfiguration elasticConfig)
           
 void setEnableAnonymousAccess(boolean enableAnonymousAccess)
           
 void setEnableExternalUserManagement(boolean enableExternalUserManagement)
           
 void setEnableRestrictedAdmin(boolean enableRestrictedAdmin)
           
 void setEnableSignup(boolean enableSignup)
           
 void setEnableTestQuarantine(boolean enableTestQuarantine)
          Deprecated. since 6.0 - use getQuarantineConfiguration() and then QuarantineConfiguration.setEnabled(boolean)
 void setEnableViewContactDetails(boolean enableViewContactDetails)
           
 void setGravatarServerUrl(String gravatarUrl)
           
 void setGravatarSupportEnabled(boolean gravatarSupportEnabled)
           
 void setInstanceName(String instanceName)
           
 void setQuarantineConfiguration(QuarantineConfiguration quarantineConfiguration)
           
 void setRemoteAgentAuthenticationEnabled(boolean remoteAgentAuthenticationEnabled)
           
 void setRemoteAgentFunctionEnabled(boolean enabled)
           
 void setResolveArtifactContentTypeByExtension(boolean resolveArtifactContentTypeByExtension)
           
 void setScheduleBackupConfiguration(ScheduleBackupConfiguration scheduleBackupConfiguration)
           
 void setStorageLimit(StorageLimits storageLimits)
           
 void setSystemProperty(String key, String value)
          Deprecated. since 6.0. Use BandanaManager for key-value storage.
 void setUnconfigurableFeatureDefaults(UnconfigurableFeatureDefaults unconfigurableFeatureDefaults)
           
 void setUseGzipCompression(boolean useGzipCompression)
          Specify if we should we use gzip compression to compress Bamboo web pages.
 void setXsrfAllowsMutativeGets(boolean xsrfAllowsMutativeGets)
           
 void setXsrfProtectionEnabled(boolean xsrfProtectionEnabled)
           
 

Method Detail

isAuditLoggingEnabled

boolean isAuditLoggingEnabled()

setAuditLoggingEnabled

void setAuditLoggingEnabled(boolean auditLoggingEnabled)

getBaseUrl

String getBaseUrl()
What is the base url for this server?

Returns:
the base url

setBaseUrl

void setBaseUrl(String baseUrl)
Define the system base url

Parameters:
baseUrl - the url

getBranchDetectionCheckInterval

int getBranchDetectionCheckInterval()
Get the interval between branch detection, in seconds (default is 300)


setBranchDetectionCheckInterval

void setBranchDetectionCheckInterval(int branchDetectionCheckInterval)
Set the interval between branch detection, in seconds

Parameters:
branchDetectionCheckInterval -

isDeploymentExpiryEnabled

boolean isDeploymentExpiryEnabled()
Returns true if deployments expiry is enabled.


setDeploymentExpiryEnabled

void setDeploymentExpiryEnabled(boolean deploymentExpiryEnabled)
Enable or disable deployment expiry


getBuildExpiryConfig

@NotNull
BuildExpiryConfig getBuildExpiryConfig()

setBuildExpiryConfig

void setBuildExpiryConfig(BuildExpiryConfig buildExpiryConfig)

getBuildHangingConfig

BuildHangingConfig getBuildHangingConfig()

setBuildHangingConfig

void setBuildHangingConfig(BuildHangingConfig myBuildHangingConfig)

getCaptchaConfiguration

@NotNull
CaptchaConfiguration getCaptchaConfiguration()

getConcurrentBuildConfig

@NotNull
ConcurrentBuildConfig getConcurrentBuildConfig()

getDashboardPageSize

int getDashboardPageSize()

setDashboardPageSize

void setDashboardPageSize(int dashboardPageSize)

getDeploymentExpiryConfig

@NotNull
DeploymentExpiryConfig getDeploymentExpiryConfig()

setDeploymentExpiryConfig

void setDeploymentExpiryConfig(DeploymentExpiryConfig deploymentExpiryConfig)

getElasticConfig

@Nullable
ElasticConfiguration getElasticConfig()

setElasticConfig

void setElasticConfig(ElasticConfiguration elasticConfig)

isEnableAnonymousAccess

boolean isEnableAnonymousAccess()

setEnableAnonymousAccess

void setEnableAnonymousAccess(boolean enableAnonymousAccess)

isEnableExternalUserManagement

boolean isEnableExternalUserManagement()

setEnableExternalUserManagement

void setEnableExternalUserManagement(boolean enableExternalUserManagement)

isEnableRestrictedAdmin

boolean isEnableRestrictedAdmin()

setEnableRestrictedAdmin

void setEnableRestrictedAdmin(boolean enableRestrictedAdmin)

isEnableSignup

boolean isEnableSignup()

setEnableSignup

void setEnableSignup(boolean enableSignup)

isEnableViewContactDetails

boolean isEnableViewContactDetails()

setEnableViewContactDetails

void setEnableViewContactDetails(boolean enableViewContactDetails)

getGravatarServerUrl

String getGravatarServerUrl()

setGravatarServerUrl

void setGravatarServerUrl(String gravatarUrl)

isGravatarSupportEnabled

boolean isGravatarSupportEnabled()

setGravatarSupportEnabled

void setGravatarSupportEnabled(boolean gravatarSupportEnabled)

getInstanceName

@NotNull
String getInstanceName()

setInstanceName

void setInstanceName(String instanceName)

isRemoteAgentAuthenticationEnabled

boolean isRemoteAgentAuthenticationEnabled()

setRemoteAgentAuthenticationEnabled

void setRemoteAgentAuthenticationEnabled(boolean remoteAgentAuthenticationEnabled)

isRemoteAgentFunctionEnabled

boolean isRemoteAgentFunctionEnabled()

setRemoteAgentFunctionEnabled

void setRemoteAgentFunctionEnabled(boolean enabled)

getRepositorySettings

@NotNull
RepositorySettings getRepositorySettings()

getResolveArtifactContentTypeByExtension

boolean getResolveArtifactContentTypeByExtension()
Use correct Content-Type header when return artifact content. See components/bamboo-web-app/src/main/webapp/WEB-INF/mimetypes.xml

Returns:
true if artifact's Content-Type header is mapped to resource extension.

setResolveArtifactContentTypeByExtension

void setResolveArtifactContentTypeByExtension(boolean resolveArtifactContentTypeByExtension)

getScheduleBackupConfiguration

ScheduleBackupConfiguration getScheduleBackupConfiguration()

setScheduleBackupConfiguration

void setScheduleBackupConfiguration(ScheduleBackupConfiguration scheduleBackupConfiguration)

getStorageLimit

@NotNull
StorageLimits getStorageLimit()
Storage limits configuration. Allows to limit local disk usage by artifacts.

Returns:
storage limits
Since:
5.9

setStorageLimit

void setStorageLimit(@NotNull
                     StorageLimits storageLimits)

getSystemProperty

@Deprecated
@Nullable
String getSystemProperty(String key)
Deprecated. since 6.0. Use BandanaManager for key-value storage.


setSystemProperty

@Deprecated
void setSystemProperty(String key,
                                  String value)
Deprecated. since 6.0. Use BandanaManager for key-value storage.


isTestQuarantineEnabled

@Deprecated
boolean isTestQuarantineEnabled()
Deprecated. since 6.0 - use getQuarantineConfiguration() and then QuarantineConfiguration.isEnabled()


setEnableTestQuarantine

@Deprecated
void setEnableTestQuarantine(boolean enableTestQuarantine)
Deprecated. since 6.0 - use getQuarantineConfiguration() and then QuarantineConfiguration.setEnabled(boolean)


getQuarantineConfiguration

@NotNull
QuarantineConfiguration getQuarantineConfiguration()

setQuarantineConfiguration

void setQuarantineConfiguration(@NotNull
                                QuarantineConfiguration quarantineConfiguration)

setUnconfigurableFeatureDefaults

void setUnconfigurableFeatureDefaults(@Nullable
                                      UnconfigurableFeatureDefaults unconfigurableFeatureDefaults)

isUseGzipCompression

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

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

Parameters:
useGzipCompression -

doesXsrfAllowMutativeGets

boolean doesXsrfAllowMutativeGets()

setXsrfAllowsMutativeGets

void setXsrfAllowsMutativeGets(boolean xsrfAllowsMutativeGets)

isXsrfProtectionEnabled

boolean isXsrfProtectionEnabled()

setXsrfProtectionEnabled

void setXsrfProtectionEnabled(boolean xsrfProtectionEnabled)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.