@NotThreadSafe public class AdministrationConfigurationImpl extends AdministrationConfiguration implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BRANCH_DETECTION_INTERVAL |
static int |
DEFAULT_BUILD_IN_QUEUE_TIMEOUT |
static int |
DEFAULT_DASHBOARD_PAGE_SIZE |
static SerializationSecurityConfig |
DEFAULT_SERIALIZATION_SECURITY_CONFIG |
static String |
DEFAULT_URL |
Constructor and Description |
---|
AdministrationConfigurationImpl(UnconfigurableFeatureDefaults unconfigurableFeatureDefaults) |
Modifier and Type | Method and Description |
---|---|
boolean |
doesXsrfAllowMutativeGets() |
boolean |
equals(Object o)
Auto-generated, reflection based equals
|
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() |
int |
getBuildHangedInQueueNotificationTimeout() |
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() |
SerializationSecurityConfig |
getSerializationSecurityConfig() |
StorageLimits |
getStorageLimit()
Storage limits configuration.
|
String |
getSystemProperty(String key) |
int |
hashCode()
Auto-generated, reflection based hashcode
|
boolean |
isAuditLoggingEnabled() |
boolean |
isDeploymentExpiryEnabled()
Returns true if deployments expiry is enabled.
|
boolean |
isEnableAnonymousAccess() |
boolean |
isEnableExternalUserManagement() |
boolean |
isEnableRestrictedAdmin() |
boolean |
isEnableSignup() |
boolean |
isEnableViewContactDetails() |
boolean |
isGravatarSupportEnabled() |
boolean |
isManageAcceptedSshHostKeys() |
boolean |
isRemoteAgentAuthenticationEnabled() |
boolean |
isRemoteAgentFunctionEnabled() |
boolean |
isSecurityTokenRequiredFromAgents()
Whether security token is required from remote agents as a preliminary authentication method.
|
boolean |
isShowAdminContactDetailsToAnonymousUsers() |
boolean |
isSoxComplianceModeEnabled()
Whether Bamboo instance SOX compliance mode is enabled.
|
boolean |
isTestQuarantineEnabled()
Deprecated.
since 5.9 - use
getQuarantineConfiguration() and then QuarantineConfiguration.isEnabled() |
boolean |
isUseGzipCompression()
Should we use gzip compression to compress Bamboo web pages?
|
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
|
static void |
setBuildExpiryConfig(AdministrationConfiguration administrationConfiguration,
BuildExpiryConfig buildExpiryConfig,
ExpiryScheduler expiryScheduler) |
void |
setBuildExpiryConfig(BuildExpiryConfig buildExpiryConfig) |
void |
setBuildHangedInQueueNotificationTimeout(int buildHangedInQueueNotificationTimeout) |
void |
setBuildHangingConfig(BuildHangingConfig myBuildHangingConfig) |
void |
setCaptchaConfiguration(CaptchaConfiguration captchaConfiguration) |
void |
setConcurrentBuildConfig(ConcurrentBuildConfig concurrentBuildConfig) |
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 5.9 - use
getQuarantineConfiguration() and then QuarantineConfiguration.setEnabled(boolean) |
void |
setEnableViewContactDetails(boolean enableViewContactDetails) |
void |
setGravatarServerUrl(String gravatarUrl) |
void |
setGravatarSupportEnabled(boolean gravatarSupportEnabled) |
void |
setInstanceName(String instanceName) |
void |
setManageAcceptedSshHostKeys(boolean manageAcceptedSshHostKeys) |
void |
setQuarantineConfiguration(QuarantineConfiguration quarantineConfiguration) |
void |
setRemoteAgentAuthenticationEnabled(boolean remoteAgentAuthenticationEnabled) |
void |
setRemoteAgentFunctionEnabled(boolean enabled) |
void |
setRepositorySettings(RepositorySettings repositorySettings) |
void |
setResolveArtifactContentTypeByExtension(boolean resolveArtifactContentTypeByExtension) |
void |
setScheduleBackupConfiguration(ScheduleBackupConfiguration scheduleBackupConfiguration) |
void |
setSecurityTokenRequiredFromAgents(boolean securityTokenRequiredFromAgents)
Set whether security token is required from remote agents as a preliminary authentication method.
|
void |
setSerializationSecurityConfig(SerializationSecurityConfig serializationSecurityConfig) |
void |
setShowAdminContactDetailsToAnonymousUsers(boolean showAdminContactDetailsToAnonymousUsers) |
void |
setSoxComplianceModeEnabled(boolean soxComplianceModeEnabled)
Enables or disables Bamboo instance SOX compliance mode.
|
void |
setStorageLimit(StorageLimits storageLimits) |
void |
setSystemProperty(String key,
String value) |
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) |
public static final String DEFAULT_URL
public static final int DEFAULT_BUILD_IN_QUEUE_TIMEOUT
public static final int DEFAULT_DASHBOARD_PAGE_SIZE
public static final int DEFAULT_BRANCH_DETECTION_INTERVAL
public static final SerializationSecurityConfig DEFAULT_SERIALIZATION_SECURITY_CONFIG
public AdministrationConfigurationImpl(@Nullable UnconfigurableFeatureDefaults unconfigurableFeatureDefaults)
public String getBaseUrl()
AdministrationConfiguration
getBaseUrl
in interface AdministrationConfigurationInterface
getBaseUrl
in class AdministrationConfiguration
public void setBaseUrl(String baseUrl)
AdministrationConfiguration
setBaseUrl
in interface AdministrationConfigurationInterface
setBaseUrl
in class AdministrationConfiguration
baseUrl
- the urlpublic boolean isUseGzipCompression()
AdministrationConfiguration
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.
isUseGzipCompression
in interface AdministrationConfigurationInterface
isUseGzipCompression
in class AdministrationConfiguration
public void setUseGzipCompression(boolean useGzipCompression)
AdministrationConfiguration
setUseGzipCompression
in interface AdministrationConfigurationInterface
setUseGzipCompression
in class AdministrationConfiguration
public boolean isEnableSignup()
isEnableSignup
in interface AdministrationConfigurationInterface
isEnableSignup
in class AdministrationConfiguration
public void setEnableSignup(boolean enableSignup)
setEnableSignup
in interface AdministrationConfigurationInterface
setEnableSignup
in class AdministrationConfiguration
public boolean isEnableAnonymousAccess()
isEnableAnonymousAccess
in interface AdministrationConfigurationInterface
isEnableAnonymousAccess
in class AdministrationConfiguration
public void setEnableAnonymousAccess(boolean enableAnonymousAccess)
setEnableAnonymousAccess
in interface AdministrationConfigurationInterface
setEnableAnonymousAccess
in class AdministrationConfiguration
public boolean isEnableExternalUserManagement()
isEnableExternalUserManagement
in interface AdministrationConfigurationInterface
isEnableExternalUserManagement
in class AdministrationConfiguration
@NotNull public CaptchaConfiguration getCaptchaConfiguration()
getCaptchaConfiguration
in interface AdministrationConfigurationInterface
getCaptchaConfiguration
in class AdministrationConfiguration
public void setCaptchaConfiguration(CaptchaConfiguration captchaConfiguration)
@NotNull public ConcurrentBuildConfig getConcurrentBuildConfig()
getConcurrentBuildConfig
in interface AdministrationConfigurationInterface
getConcurrentBuildConfig
in class AdministrationConfiguration
public void setConcurrentBuildConfig(ConcurrentBuildConfig concurrentBuildConfig)
public void setEnableExternalUserManagement(boolean enableExternalUserManagement)
setEnableExternalUserManagement
in interface AdministrationConfigurationInterface
setEnableExternalUserManagement
in class AdministrationConfiguration
public boolean isEnableViewContactDetails()
isEnableViewContactDetails
in interface AdministrationConfigurationInterface
isEnableViewContactDetails
in class AdministrationConfiguration
public void setEnableViewContactDetails(boolean enableViewContactDetails)
setEnableViewContactDetails
in interface AdministrationConfigurationInterface
setEnableViewContactDetails
in class AdministrationConfiguration
public void setBuildExpiryConfig(BuildExpiryConfig buildExpiryConfig)
setBuildExpiryConfig
in interface AdministrationConfigurationInterface
setBuildExpiryConfig
in class AdministrationConfiguration
public boolean isDeploymentExpiryEnabled()
AdministrationConfigurationInterface
isDeploymentExpiryEnabled
in interface AdministrationConfigurationInterface
isDeploymentExpiryEnabled
in class AdministrationConfiguration
public void setDeploymentExpiryEnabled(boolean deploymentExpiryEnabled)
AdministrationConfigurationInterface
setDeploymentExpiryEnabled
in interface AdministrationConfigurationInterface
setDeploymentExpiryEnabled
in class AdministrationConfiguration
@NotNull public BuildExpiryConfig getBuildExpiryConfig()
getBuildExpiryConfig
in interface AdministrationConfigurationInterface
getBuildExpiryConfig
in class AdministrationConfiguration
@NotNull public DeploymentExpiryConfig getDeploymentExpiryConfig()
getDeploymentExpiryConfig
in interface AdministrationConfigurationInterface
getDeploymentExpiryConfig
in class AdministrationConfiguration
public void setDeploymentExpiryConfig(DeploymentExpiryConfig deploymentExpiryConfig)
setDeploymentExpiryConfig
in interface AdministrationConfigurationInterface
setDeploymentExpiryConfig
in class AdministrationConfiguration
@Nullable public ElasticConfiguration getElasticConfig()
getElasticConfig
in interface AdministrationConfigurationInterface
getElasticConfig
in class AdministrationConfiguration
public void setElasticConfig(ElasticConfiguration elasticConfig)
setElasticConfig
in interface AdministrationConfigurationInterface
setElasticConfig
in class AdministrationConfiguration
public boolean equals(Object o)
public int hashCode()
public void setSystemProperty(String key, String value)
setSystemProperty
in interface AdministrationConfigurationInterface
setSystemProperty
in class AdministrationConfiguration
@Nullable public String getSystemProperty(String key)
getSystemProperty
in interface AdministrationConfigurationInterface
getSystemProperty
in class AdministrationConfiguration
public ScheduleBackupConfiguration getScheduleBackupConfiguration()
getScheduleBackupConfiguration
in interface AdministrationConfigurationInterface
getScheduleBackupConfiguration
in class AdministrationConfiguration
public void setScheduleBackupConfiguration(ScheduleBackupConfiguration scheduleBackupConfiguration)
setScheduleBackupConfiguration
in interface AdministrationConfigurationInterface
setScheduleBackupConfiguration
in class AdministrationConfiguration
@NotNull public String getInstanceName()
getInstanceName
in interface AdministrationConfigurationInterface
getInstanceName
in class AdministrationConfiguration
public void setInstanceName(String instanceName)
setInstanceName
in interface AdministrationConfigurationInterface
setInstanceName
in class AdministrationConfiguration
public boolean isManageAcceptedSshHostKeys()
isManageAcceptedSshHostKeys
in interface AdministrationConfigurationInterface
public void setManageAcceptedSshHostKeys(boolean manageAcceptedSshHostKeys)
setManageAcceptedSshHostKeys
in interface AdministrationConfigurationInterface
public boolean isRemoteAgentFunctionEnabled()
isRemoteAgentFunctionEnabled
in interface AdministrationConfigurationInterface
isRemoteAgentFunctionEnabled
in class AdministrationConfiguration
public void setRemoteAgentFunctionEnabled(boolean enabled)
setRemoteAgentFunctionEnabled
in interface AdministrationConfigurationInterface
setRemoteAgentFunctionEnabled
in class AdministrationConfiguration
public boolean isRemoteAgentAuthenticationEnabled()
isRemoteAgentAuthenticationEnabled
in interface AdministrationConfigurationInterface
isRemoteAgentAuthenticationEnabled
in class AdministrationConfiguration
public void setRemoteAgentAuthenticationEnabled(boolean remoteAgentAuthenticationEnabled)
setRemoteAgentAuthenticationEnabled
in interface AdministrationConfigurationInterface
setRemoteAgentAuthenticationEnabled
in class AdministrationConfiguration
public BuildHangingConfig getBuildHangingConfig()
getBuildHangingConfig
in interface AdministrationConfigurationInterface
getBuildHangingConfig
in class AdministrationConfiguration
public void setBuildHangingConfig(BuildHangingConfig myBuildHangingConfig)
setBuildHangingConfig
in interface AdministrationConfigurationInterface
setBuildHangingConfig
in class AdministrationConfiguration
public boolean isGravatarSupportEnabled()
isGravatarSupportEnabled
in interface AdministrationConfigurationInterface
isGravatarSupportEnabled
in class AdministrationConfiguration
public void setGravatarSupportEnabled(boolean gravatarSupportEnabled)
setGravatarSupportEnabled
in interface AdministrationConfigurationInterface
setGravatarSupportEnabled
in class AdministrationConfiguration
public String getGravatarServerUrl()
getGravatarServerUrl
in interface AdministrationConfigurationInterface
getGravatarServerUrl
in class AdministrationConfiguration
public boolean isShowAdminContactDetailsToAnonymousUsers()
isShowAdminContactDetailsToAnonymousUsers
in interface AdministrationConfigurationInterface
isShowAdminContactDetailsToAnonymousUsers
in class AdministrationConfiguration
public void setShowAdminContactDetailsToAnonymousUsers(boolean showAdminContactDetailsToAnonymousUsers)
setShowAdminContactDetailsToAnonymousUsers
in interface AdministrationConfigurationInterface
setShowAdminContactDetailsToAnonymousUsers
in class AdministrationConfiguration
public void setGravatarServerUrl(String gravatarUrl)
setGravatarServerUrl
in interface AdministrationConfigurationInterface
setGravatarServerUrl
in class AdministrationConfiguration
public int getBuildHangedInQueueNotificationTimeout()
public void setBuildHangedInQueueNotificationTimeout(int buildHangedInQueueNotificationTimeout)
public boolean isEnableRestrictedAdmin()
isEnableRestrictedAdmin
in interface AdministrationConfigurationInterface
isEnableRestrictedAdmin
in class AdministrationConfiguration
public void setEnableRestrictedAdmin(boolean enableRestrictedAdmin)
setEnableRestrictedAdmin
in interface AdministrationConfigurationInterface
setEnableRestrictedAdmin
in class AdministrationConfiguration
public boolean isSoxComplianceModeEnabled()
AdministrationConfigurationInterface
isSoxComplianceModeEnabled
in interface AdministrationConfigurationInterface
isSoxComplianceModeEnabled
in class AdministrationConfiguration
public void setSoxComplianceModeEnabled(boolean soxComplianceModeEnabled)
AdministrationConfigurationInterface
setSoxComplianceModeEnabled
in interface AdministrationConfigurationInterface
setSoxComplianceModeEnabled
in class AdministrationConfiguration
public boolean isAuditLoggingEnabled()
isAuditLoggingEnabled
in interface AdministrationConfigurationInterface
isAuditLoggingEnabled
in class AdministrationConfiguration
public void setAuditLoggingEnabled(boolean auditLoggingEnabled)
setAuditLoggingEnabled
in interface AdministrationConfigurationInterface
setAuditLoggingEnabled
in class AdministrationConfiguration
public int getDashboardPageSize()
getDashboardPageSize
in interface AdministrationConfigurationInterface
getDashboardPageSize
in class AdministrationConfiguration
public void setDashboardPageSize(int dashboardPageSize)
setDashboardPageSize
in interface AdministrationConfigurationInterface
setDashboardPageSize
in class AdministrationConfiguration
public int getBranchDetectionCheckInterval()
AdministrationConfiguration
getBranchDetectionCheckInterval
in interface AdministrationConfigurationInterface
getBranchDetectionCheckInterval
in class AdministrationConfiguration
public void setBranchDetectionCheckInterval(int branchDetectionCheckInterval)
AdministrationConfiguration
setBranchDetectionCheckInterval
in interface AdministrationConfigurationInterface
setBranchDetectionCheckInterval
in class AdministrationConfiguration
@NotNull public RepositorySettings getRepositorySettings()
getRepositorySettings
in interface AdministrationConfigurationInterface
getRepositorySettings
in class AdministrationConfiguration
public void setRepositorySettings(RepositorySettings repositorySettings)
public void setUnconfigurableFeatureDefaults(@Nullable UnconfigurableFeatureDefaults unconfigurableFeatureDefaults)
setUnconfigurableFeatureDefaults
in interface AdministrationConfigurationInterface
setUnconfigurableFeatureDefaults
in class AdministrationConfiguration
public boolean isXsrfProtectionEnabled()
isXsrfProtectionEnabled
in interface AdministrationConfigurationInterface
isXsrfProtectionEnabled
in class AdministrationConfiguration
public void setXsrfProtectionEnabled(boolean xsrfProtectionEnabled)
setXsrfProtectionEnabled
in interface AdministrationConfigurationInterface
setXsrfProtectionEnabled
in class AdministrationConfiguration
public boolean doesXsrfAllowMutativeGets()
doesXsrfAllowMutativeGets
in interface AdministrationConfigurationInterface
doesXsrfAllowMutativeGets
in class AdministrationConfiguration
public void setXsrfAllowsMutativeGets(boolean xsrfAllowsMutativeGets)
setXsrfAllowsMutativeGets
in interface AdministrationConfigurationInterface
setXsrfAllowsMutativeGets
in class AdministrationConfiguration
public boolean getResolveArtifactContentTypeByExtension()
AdministrationConfigurationInterface
getResolveArtifactContentTypeByExtension
in interface AdministrationConfigurationInterface
getResolveArtifactContentTypeByExtension
in class AdministrationConfiguration
public void setResolveArtifactContentTypeByExtension(boolean resolveArtifactContentTypeByExtension)
setResolveArtifactContentTypeByExtension
in interface AdministrationConfigurationInterface
setResolveArtifactContentTypeByExtension
in class AdministrationConfiguration
@Deprecated public boolean isTestQuarantineEnabled()
getQuarantineConfiguration()
and then QuarantineConfiguration.isEnabled()
isTestQuarantineEnabled
in interface AdministrationConfigurationInterface
isTestQuarantineEnabled
in class AdministrationConfiguration
@Deprecated public void setEnableTestQuarantine(boolean enableTestQuarantine)
getQuarantineConfiguration()
and then QuarantineConfiguration.setEnabled(boolean)
setEnableTestQuarantine
in interface AdministrationConfigurationInterface
setEnableTestQuarantine
in class AdministrationConfiguration
@NotNull public QuarantineConfiguration getQuarantineConfiguration()
getQuarantineConfiguration
in interface AdministrationConfigurationInterface
getQuarantineConfiguration
in class AdministrationConfiguration
public void setQuarantineConfiguration(@NotNull QuarantineConfiguration quarantineConfiguration)
setQuarantineConfiguration
in interface AdministrationConfigurationInterface
setQuarantineConfiguration
in class AdministrationConfiguration
@NotNull public StorageLimits getStorageLimit()
AdministrationConfigurationInterface
getStorageLimit
in interface AdministrationConfigurationInterface
getStorageLimit
in class AdministrationConfiguration
public void setStorageLimit(@NotNull StorageLimits storageLimits)
setStorageLimit
in interface AdministrationConfigurationInterface
setStorageLimit
in class AdministrationConfiguration
public static void setBuildExpiryConfig(AdministrationConfiguration administrationConfiguration, BuildExpiryConfig buildExpiryConfig, ExpiryScheduler expiryScheduler)
@NotNull public SerializationSecurityConfig getSerializationSecurityConfig()
getSerializationSecurityConfig
in interface AdministrationConfigurationInterface
public void setSerializationSecurityConfig(@NotNull SerializationSecurityConfig serializationSecurityConfig)
setSerializationSecurityConfig
in interface AdministrationConfigurationInterface
public boolean isSecurityTokenRequiredFromAgents()
AdministrationConfigurationInterface
isSecurityTokenRequiredFromAgents
in interface AdministrationConfigurationInterface
isSecurityTokenRequiredFromAgents
in class AdministrationConfiguration
public void setSecurityTokenRequiredFromAgents(boolean securityTokenRequiredFromAgents)
AdministrationConfigurationInterface
setSecurityTokenRequiredFromAgents
in interface AdministrationConfigurationInterface
setSecurityTokenRequiredFromAgents
in class AdministrationConfiguration
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.