Interface AdministrationConfigurationInterface
-
- All Known Implementing Classes:
AdministrationConfiguration,AdministrationConfigurationImpl
@Internal public interface AdministrationConfigurationInterfaceAdministration configuration interface. When adding stuff please try keep alphabetical order of properties.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description booleandoesXsrfAllowMutativeGets()StringgetBaseUrl()What is the base url for this server?intgetBranchDetectionCheckInterval()Get the interval between branch detection, in seconds (default is 300)@NotNull BuildExpiryConfiggetBuildExpiryConfig()@NotNull BuildHangingConfiggetBuildHangingConfig()@NotNull CaptchaConfigurationgetCaptchaConfiguration()@NotNull ConcurrentBuildConfiggetConcurrentBuildConfig()intgetDashboardPageSize()@NotNull DeploymentExpiryConfiggetDeploymentExpiryConfig()@Nullable ElasticConfigurationgetElasticConfig()@NotNull EphemeralAgentsConfigurationgetEphemeralAgentsConfiguration()Ephemeral agents global configuration.StringgetGravatarServerUrl()@NotNull StringgetInstanceName()LookAndFeelConfigurationgetLookAndFeelConfiguration()ManualEncryptionConfigurationgetManualEncryptionConfiguration()Get Manual Encryption configuration.PersonalAccessTokensExpirationConfigurationgetPersonalAccessTokensExpirationConfiguration()Get Personal Access Tokens expiration configuration.@NotNull QuarantineConfigurationgetQuarantineConfiguration()@NotNull RepositorySettingsgetRepositorySettings()booleangetResolveArtifactContentTypeByExtension()Use correct Content-Type header when return artifact content.@NotNull RssDetectionConfigurationgetRssDetectionConfiguration()Get global RSS detection configuration.@NotNull RssSecurityConfigurationgetRssSecurityConfiguration()Get RSS security configurationScheduleBackupConfigurationgetScheduleBackupConfiguration()@NotNull SerializationSecurityConfiggetSerializationSecurityConfig()@NotNull StorageLimitsgetStorageLimit()Storage limits configuration.@Nullable StringgetSystemProperty(String key)Deprecated.since 6.0.intgetWebResourcesSystemCounter()Keeps a configuration counter for webresources cache bustingintincrementAndGetWebResourcesSystemCounter()booleanisAgentAssignmentModificationByUsersAllowed()booleanisAuditLoggingEnabled()booleanisDeploymentExpiryEnabled()Returns true if deployments expiry is enabled.booleanisEnableAnonymousAccess()default booleanisEnableExternalUserManagement()Deprecated.since 6.6.0.booleanisEnableRestrictedAdmin()booleanisEnableSignup()booleanisEnableViewContactDetails()booleanisGravatarSupportEnabled()booleanisManageAcceptedSshHostKeys()BooleanisQuietPeriodGloballyDisabled()Whether the quiet period is disabled globally or can be configured per repository.booleanisRemoteAgentAuthenticationEnabled()booleanisRemoteAgentFunctionEnabled()booleanisSecurityTokenRequiredFromAgents()Whether security token is required from remote agents as a preliminary authentication method.booleanisShowAdminContactDetailsToAnonymousUsers()booleanisShowAuthorsDetailsToUsers()booleanisSoxComplianceModeEnabled()Whether Bamboo instance SOX compliance mode is enabled.booleanisUnauthenticatedRemoteTriggerAllowed()booleanisUseGzipCompression()Should we use gzip compression to compress Bamboo web pages?booleanisXsrfProtectionEnabled()voidsetAgentAssignmentModificationByUsersAllowed(boolean agentAssignmentModificationByUsersAllowed)voidsetAuditLoggingEnabled(boolean auditLoggingEnabled)voidsetBaseUrl(String baseUrl)Define the system base urlvoidsetBranchDetectionCheckInterval(int branchDetectionCheckInterval)Set the interval between branch detection, in secondsvoidsetBuildExpiryConfig(BuildExpiryConfig buildExpiryConfig)voidsetBuildHangingConfig(BuildHangingConfig myBuildHangingConfig)voidsetDashboardPageSize(int dashboardPageSize)voidsetDeploymentExpiryConfig(DeploymentExpiryConfig deploymentExpiryConfig)voidsetDeploymentExpiryEnabled(boolean deploymentExpiryEnabled)Enable or disable deployment expiryvoidsetElasticConfig(ElasticConfiguration elasticConfig)voidsetEnableAnonymousAccess(boolean enableAnonymousAccess)voidsetEnableRestrictedAdmin(boolean enableRestrictedAdmin)voidsetEnableSignup(boolean enableSignup)voidsetEnableViewContactDetails(boolean enableViewContactDetails)voidsetEphemeralAgentsConfiguration(EphemeralAgentsConfiguration ephemeralAgentsConfiguration)voidsetGravatarServerUrl(String gravatarUrl)voidsetGravatarSupportEnabled(boolean gravatarSupportEnabled)voidsetInstanceName(String instanceName)voidsetLookAndFeelConfiguration(LookAndFeelConfiguration lookandfeelConfiguration)voidsetManageAcceptedSshHostKeys(boolean manageAcceptedSshHostKeys)voidsetManualEncryptionConfiguration(ManualEncryptionConfiguration manualEncryptionConfiguration)Set Manual Encryption configuration.voidsetPersonalAccessTokensExpirationConfiguration(PersonalAccessTokensExpirationConfiguration personalAccessTokensExpirationConfiguration)Set Personal Access Tokens expiration configuration.voidsetQuarantineConfiguration(@NotNull QuarantineConfiguration quarantineConfiguration)voidsetQuietPeriodGloballyDisabled(Boolean quietPeriodGloballyDisabled)Sets a quiet period globally.voidsetRemoteAgentAuthenticationEnabled(boolean remoteAgentAuthenticationEnabled)voidsetRemoteAgentFunctionEnabled(boolean enabled)voidsetResolveArtifactContentTypeByExtension(boolean resolveArtifactContentTypeByExtension)voidsetRssDetectionConfiguration(RssDetectionConfiguration rssDetectionConfiguration)Set global RSS detection configuration.voidsetRssSecurityConfiguration(RssSecurityConfiguration configuration)Set RSS security configurationvoidsetScheduleBackupConfiguration(ScheduleBackupConfiguration scheduleBackupConfiguration)voidsetSecurityTokenRequiredFromAgents(boolean securityTokenRequiredFromAgents)Set whether security token is required from remote agents as a preliminary authentication method.voidsetSerializationSecurityConfig(@NotNull SerializationSecurityConfig serializationSecurityConfig)voidsetShowAdminContactDetailsToAnonymousUsers(boolean showAdminContactDetailsToAnonymousUsers)voidsetShowAuthorsDetailsToUsers(boolean showAuthorsDetailsToUsers)voidsetSoxComplianceModeEnabled(boolean soxComplianceModeEnabled)Enables or disables Bamboo instance SOX compliance mode.voidsetStorageLimit(@NotNull StorageLimits storageLimits)voidsetSystemProperty(String key, String value)Deprecated.since 6.0.voidsetUnauthenticatedRemoteTriggerAllowed(boolean unauthenticatedRemoteTriggerAllowed)voidsetUnconfigurableFeatureDefaults(@Nullable UnconfigurableFeatureDefaults unconfigurableFeatureDefaults)voidsetUseGzipCompression(boolean useGzipCompression)Specify if we should we use gzip compression to compress Bamboo web pages.voidsetXsrfAllowsMutativeGets(boolean xsrfAllowsMutativeGets)voidsetXsrfProtectionEnabled(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 @NotNull BuildExpiryConfig getBuildExpiryConfig()
-
setBuildExpiryConfig
void setBuildExpiryConfig(BuildExpiryConfig buildExpiryConfig)
-
getBuildHangingConfig
@NotNull @NotNull BuildHangingConfig getBuildHangingConfig()
-
setBuildHangingConfig
void setBuildHangingConfig(BuildHangingConfig myBuildHangingConfig)
-
getCaptchaConfiguration
@NotNull @NotNull CaptchaConfiguration getCaptchaConfiguration()
-
getConcurrentBuildConfig
@NotNull @NotNull ConcurrentBuildConfig getConcurrentBuildConfig()
-
getDashboardPageSize
int getDashboardPageSize()
-
setDashboardPageSize
void setDashboardPageSize(int dashboardPageSize)
-
getDeploymentExpiryConfig
@NotNull @NotNull DeploymentExpiryConfig getDeploymentExpiryConfig()
-
setDeploymentExpiryConfig
void setDeploymentExpiryConfig(DeploymentExpiryConfig deploymentExpiryConfig)
-
getElasticConfig
@Nullable @Nullable ElasticConfiguration getElasticConfig()
-
setElasticConfig
void setElasticConfig(ElasticConfiguration elasticConfig)
-
isEnableAnonymousAccess
boolean isEnableAnonymousAccess()
-
setEnableAnonymousAccess
void setEnableAnonymousAccess(boolean enableAnonymousAccess)
-
isEnableExternalUserManagement
@Deprecated default boolean isEnableExternalUserManagement()
Deprecated.since 6.6.0. Use GroupManager.isCreative() instead.
-
isEnableRestrictedAdmin
boolean isEnableRestrictedAdmin()
-
setEnableRestrictedAdmin
void setEnableRestrictedAdmin(boolean enableRestrictedAdmin)
-
isSoxComplianceModeEnabled
boolean isSoxComplianceModeEnabled()
Whether Bamboo instance SOX compliance mode is enabled.
-
setSoxComplianceModeEnabled
void setSoxComplianceModeEnabled(boolean soxComplianceModeEnabled)
Enables or disables Bamboo instance SOX compliance mode.
-
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 @NotNull String getInstanceName()
-
setInstanceName
void setInstanceName(String instanceName)
-
getWebResourcesSystemCounter
int getWebResourcesSystemCounter()
Keeps a configuration counter for webresources cache busting
-
incrementAndGetWebResourcesSystemCounter
int incrementAndGetWebResourcesSystemCounter()
-
getLookAndFeelConfiguration
LookAndFeelConfiguration getLookAndFeelConfiguration()
-
setLookAndFeelConfiguration
void setLookAndFeelConfiguration(LookAndFeelConfiguration lookandfeelConfiguration)
-
isManageAcceptedSshHostKeys
boolean isManageAcceptedSshHostKeys()
-
setManageAcceptedSshHostKeys
void setManageAcceptedSshHostKeys(boolean manageAcceptedSshHostKeys)
-
isRemoteAgentAuthenticationEnabled
boolean isRemoteAgentAuthenticationEnabled()
-
setRemoteAgentAuthenticationEnabled
void setRemoteAgentAuthenticationEnabled(boolean remoteAgentAuthenticationEnabled)
-
isRemoteAgentFunctionEnabled
boolean isRemoteAgentFunctionEnabled()
-
setRemoteAgentFunctionEnabled
void setRemoteAgentFunctionEnabled(boolean enabled)
-
getRepositorySettings
@NotNull @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)
-
isShowAdminContactDetailsToAnonymousUsers
boolean isShowAdminContactDetailsToAnonymousUsers()
-
setShowAdminContactDetailsToAnonymousUsers
void setShowAdminContactDetailsToAnonymousUsers(boolean showAdminContactDetailsToAnonymousUsers)
-
isShowAuthorsDetailsToUsers
boolean isShowAuthorsDetailsToUsers()
- Returns:
- true if logged-in user can view authors' related subpages
-
setShowAuthorsDetailsToUsers
void setShowAuthorsDetailsToUsers(boolean showAuthorsDetailsToUsers)
-
isUnauthenticatedRemoteTriggerAllowed
boolean isUnauthenticatedRemoteTriggerAllowed()
- Returns:
- true if anonymous user can trigger repository remote trigger and Bamboo Specs detection
-
setUnauthenticatedRemoteTriggerAllowed
void setUnauthenticatedRemoteTriggerAllowed(boolean unauthenticatedRemoteTriggerAllowed)
-
isAgentAssignmentModificationByUsersAllowed
boolean isAgentAssignmentModificationByUsersAllowed()
- Returns:
- true if agent assignment can be changed by regular users
- Since:
- 7.1
-
setAgentAssignmentModificationByUsersAllowed
void setAgentAssignmentModificationByUsersAllowed(boolean agentAssignmentModificationByUsersAllowed)
-
getStorageLimit
@NotNull @NotNull StorageLimits getStorageLimit()
Storage limits configuration. Allows to limit local disk usage by artifacts.- Returns:
- storage limits
- Since:
- 5.9
-
setStorageLimit
void setStorageLimit(@NotNull @NotNull StorageLimits storageLimits)
-
getSystemProperty
@Deprecated @Nullable @Nullable String getSystemProperty(String key)
Deprecated.since 6.0. UseBandanaManagerfor key-value storage.
-
setSystemProperty
@Deprecated void setSystemProperty(String key, String value)
Deprecated.since 6.0. UseBandanaManagerfor key-value storage.
-
getQuarantineConfiguration
@NotNull @NotNull QuarantineConfiguration getQuarantineConfiguration()
-
setQuarantineConfiguration
void setQuarantineConfiguration(@NotNull @NotNull QuarantineConfiguration quarantineConfiguration)
-
setUnconfigurableFeatureDefaults
void setUnconfigurableFeatureDefaults(@Nullable @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.
-
doesXsrfAllowMutativeGets
boolean doesXsrfAllowMutativeGets()
-
setXsrfAllowsMutativeGets
void setXsrfAllowsMutativeGets(boolean xsrfAllowsMutativeGets)
-
isXsrfProtectionEnabled
boolean isXsrfProtectionEnabled()
-
setXsrfProtectionEnabled
void setXsrfProtectionEnabled(boolean xsrfProtectionEnabled)
-
getSerializationSecurityConfig
@NotNull @NotNull SerializationSecurityConfig getSerializationSecurityConfig()
-
setSerializationSecurityConfig
void setSerializationSecurityConfig(@NotNull @NotNull SerializationSecurityConfig serializationSecurityConfig)
-
isSecurityTokenRequiredFromAgents
boolean isSecurityTokenRequiredFromAgents()
Whether security token is required from remote agents as a preliminary authentication method.
-
setSecurityTokenRequiredFromAgents
void setSecurityTokenRequiredFromAgents(boolean securityTokenRequiredFromAgents)
Set whether security token is required from remote agents as a preliminary authentication method.
-
getRssSecurityConfiguration
@NotNull @NotNull RssSecurityConfiguration getRssSecurityConfiguration()
Get RSS security configuration
-
setRssSecurityConfiguration
void setRssSecurityConfiguration(RssSecurityConfiguration configuration)
Set RSS security configuration
-
getRssDetectionConfiguration
@NotNull @NotNull RssDetectionConfiguration getRssDetectionConfiguration()
Get global RSS detection configuration.- Since:
- 6.7
-
setRssDetectionConfiguration
void setRssDetectionConfiguration(RssDetectionConfiguration rssDetectionConfiguration)
Set global RSS detection configuration.- Since:
- 6.7
-
setManualEncryptionConfiguration
void setManualEncryptionConfiguration(ManualEncryptionConfiguration manualEncryptionConfiguration)
Set Manual Encryption configuration.- Since:
- 6.9
-
getManualEncryptionConfiguration
ManualEncryptionConfiguration getManualEncryptionConfiguration()
Get Manual Encryption configuration.- Since:
- 6.9
-
isQuietPeriodGloballyDisabled
Boolean isQuietPeriodGloballyDisabled()
Whether the quiet period is disabled globally or can be configured per repository.- Since:
- 9.3
-
setQuietPeriodGloballyDisabled
void setQuietPeriodGloballyDisabled(Boolean quietPeriodGloballyDisabled)
Sets a quiet period globally. If disabled, a quiet period won't be used on any repository. If enabled, the configuration is repository specific.- Since:
- 9.3
-
getEphemeralAgentsConfiguration
@NotNull @NotNull EphemeralAgentsConfiguration getEphemeralAgentsConfiguration()
Ephemeral agents global configuration.- Since:
- 9.3
-
setEphemeralAgentsConfiguration
void setEphemeralAgentsConfiguration(EphemeralAgentsConfiguration ephemeralAgentsConfiguration)
-
setPersonalAccessTokensExpirationConfiguration
void setPersonalAccessTokensExpirationConfiguration(PersonalAccessTokensExpirationConfiguration personalAccessTokensExpirationConfiguration)
Set Personal Access Tokens expiration configuration.- Since:
- 9.4
-
getPersonalAccessTokensExpirationConfiguration
PersonalAccessTokensExpirationConfiguration getPersonalAccessTokensExpirationConfiguration()
Get Personal Access Tokens expiration configuration.- Since:
- 9.4
-
-