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
Modifier and TypeMethodDescriptionboolean
What is the base url for this server?int
Get the interval between branch detection, in seconds (default is 300)@NotNull BuildExpiryConfig
@NotNull BuildHangingConfig
@NotNull CaptchaConfiguration
@NotNull ConcurrentBuildConfig
int
@NotNull DeploymentExpiryConfig
@Nullable ElasticConfiguration
@NotNull EphemeralAgentsConfiguration
Ephemeral agents global configuration.@NotNull String
Get Manual Encryption configuration.Get Personal Access Tokens expiration configuration.@NotNull QuarantineConfiguration
@NotNull RepositorySettings
boolean
Use correct Content-Type header when return artifact content.@NotNull RssDetectionConfiguration
Get global RSS detection configuration.@NotNull RssSecurityConfiguration
Get RSS security configuration@NotNull SerializationSecurityConfig
@NotNull StorageLimits
Storage limits configuration.@Nullable String
getSystemProperty
(String key) Deprecated.since 6.0.int
Keeps a configuration counter for webresources cache bustingint
boolean
boolean
boolean
Returns true if deployments expiry is enabled.boolean
default boolean
Deprecated.since 6.6.0.boolean
boolean
boolean
boolean
boolean
Whether the quiet period is disabled globally or can be configured per repository.boolean
boolean
boolean
Whether security token is required from remote agents as a preliminary authentication method.boolean
boolean
boolean
Whether Bamboo instance SOX compliance mode is enabled.boolean
boolean
Should we use gzip compression to compress Bamboo web pages?boolean
void
setAgentAssignmentModificationByUsersAllowed
(boolean agentAssignmentModificationByUsersAllowed) void
setAuditLoggingEnabled
(boolean auditLoggingEnabled) void
setBaseUrl
(String baseUrl) Define the system base urlvoid
setBranchDetectionCheckInterval
(int branchDetectionCheckInterval) Set the interval between branch detection, in secondsvoid
setBuildExpiryConfig
(BuildExpiryConfig buildExpiryConfig) void
setBuildHangingConfig
(BuildHangingConfig myBuildHangingConfig) void
setDashboardPageSize
(int dashboardPageSize) void
setDeploymentExpiryConfig
(DeploymentExpiryConfig deploymentExpiryConfig) void
setDeploymentExpiryEnabled
(boolean deploymentExpiryEnabled) Enable or disable deployment expiryvoid
setElasticConfig
(ElasticConfiguration elasticConfig) void
setEnableAnonymousAccess
(boolean enableAnonymousAccess) void
setEnableRestrictedAdmin
(boolean enableRestrictedAdmin) void
setEnableSignup
(boolean enableSignup) void
setEnableViewContactDetails
(boolean enableViewContactDetails) void
setEphemeralAgentsConfiguration
(EphemeralAgentsConfiguration ephemeralAgentsConfiguration) void
setGravatarServerUrl
(String gravatarUrl) void
setGravatarSupportEnabled
(boolean gravatarSupportEnabled) void
setInstanceName
(String instanceName) void
setLookAndFeelConfiguration
(LookAndFeelConfiguration lookandfeelConfiguration) void
setManageAcceptedSshHostKeys
(boolean manageAcceptedSshHostKeys) void
setManualEncryptionConfiguration
(ManualEncryptionConfiguration manualEncryptionConfiguration) Set Manual Encryption configuration.void
setPersonalAccessTokensExpirationConfiguration
(PersonalAccessTokensExpirationConfiguration personalAccessTokensExpirationConfiguration) Set Personal Access Tokens expiration configuration.void
setQuarantineConfiguration
(@NotNull QuarantineConfiguration quarantineConfiguration) void
setQuietPeriodGloballyDisabled
(Boolean quietPeriodGloballyDisabled) Sets a quiet period globally.void
setRemoteAgentAuthenticationEnabled
(boolean remoteAgentAuthenticationEnabled) void
setRemoteAgentFunctionEnabled
(boolean enabled) void
setResolveArtifactContentTypeByExtension
(boolean resolveArtifactContentTypeByExtension) void
setRssDetectionConfiguration
(RssDetectionConfiguration rssDetectionConfiguration) Set global RSS detection configuration.void
setRssSecurityConfiguration
(RssSecurityConfiguration configuration) Set RSS security configurationvoid
setScheduleBackupConfiguration
(ScheduleBackupConfiguration scheduleBackupConfiguration) void
setSecurityTokenRequiredFromAgents
(boolean securityTokenRequiredFromAgents) Set whether security token is required from remote agents as a preliminary authentication method.void
setSerializationSecurityConfig
(@NotNull SerializationSecurityConfig serializationSecurityConfig) void
setShowAdminContactDetailsToAnonymousUsers
(boolean showAdminContactDetailsToAnonymousUsers) void
setShowAuthorsDetailsToUsers
(boolean showAuthorsDetailsToUsers) void
setSoxComplianceModeEnabled
(boolean soxComplianceModeEnabled) Enables or disables Bamboo instance SOX compliance mode.void
setStorageLimit
(@NotNull StorageLimits storageLimits) void
setSystemProperty
(String key, String value) Deprecated.since 6.0.void
setUnauthenticatedRemoteTriggerAllowed
(boolean unauthenticatedRemoteTriggerAllowed) void
setUnconfigurableFeatureDefaults
(@Nullable 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 Details
-
isAuditLoggingEnabled
boolean isAuditLoggingEnabled() -
setAuditLoggingEnabled
void setAuditLoggingEnabled(boolean auditLoggingEnabled) -
getBaseUrl
String getBaseUrl()What is the base url for this server?- Returns:
- the base url
-
setBaseUrl
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
-
setBuildExpiryConfig
-
getBuildHangingConfig
-
setBuildHangingConfig
-
getCaptchaConfiguration
-
getConcurrentBuildConfig
-
getDashboardPageSize
int getDashboardPageSize() -
setDashboardPageSize
void setDashboardPageSize(int dashboardPageSize) -
getDeploymentExpiryConfig
-
setDeploymentExpiryConfig
-
getElasticConfig
-
setElasticConfig
-
isEnableAnonymousAccess
boolean isEnableAnonymousAccess() -
setEnableAnonymousAccess
void setEnableAnonymousAccess(boolean enableAnonymousAccess) -
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
-
isGravatarSupportEnabled
boolean isGravatarSupportEnabled() -
setGravatarSupportEnabled
void setGravatarSupportEnabled(boolean gravatarSupportEnabled) -
getInstanceName
-
setInstanceName
-
getWebResourcesSystemCounter
int getWebResourcesSystemCounter()Keeps a configuration counter for webresources cache busting -
incrementAndGetWebResourcesSystemCounter
int incrementAndGetWebResourcesSystemCounter() -
getLookAndFeelConfiguration
LookAndFeelConfiguration getLookAndFeelConfiguration() -
setLookAndFeelConfiguration
-
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
-
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
-
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
Storage limits configuration. Allows to limit local disk usage by artifacts.- Returns:
- storage limits
- Since:
- 5.9
-
setStorageLimit
-
getSystemProperty
Deprecated.since 6.0. UseBandanaManager
for key-value storage. -
setSystemProperty
Deprecated.since 6.0. UseBandanaManager
for key-value storage. -
getQuarantineConfiguration
-
setQuarantineConfiguration
-
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
-
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
Get RSS security configuration -
setRssSecurityConfiguration
Set RSS security configuration -
getRssDetectionConfiguration
Get global RSS detection configuration.- Since:
- 6.7
-
setRssDetectionConfiguration
Set global RSS detection configuration.- Since:
- 6.7
-
setManualEncryptionConfiguration
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
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
Ephemeral agents global configuration.- Since:
- 9.3
-
setEphemeralAgentsConfiguration
-
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
-