Class AdministrationConfigurationImpl
java.lang.Object
com.atlassian.bamboo.configuration.AdministrationConfiguration
com.atlassian.bamboo.configuration.AdministrationConfigurationImpl
- All Implemented Interfaces:
AdministrationConfigurationInterface
,Serializable
@NotThreadSafe
public class AdministrationConfigurationImpl
extends AdministrationConfiguration
implements Serializable
This class is a POJO holding the administrator supplied configuration.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final SerializationSecurityConfig
static final String
-
Constructor Summary
ConstructorDescriptionAdministrationConfigurationImpl
(@Nullable UnconfigurableFeatureDefaults unconfigurableFeatureDefaults) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Auto-generated, reflection based equalsWhat is the base url for this server?int
Get the interval between branch detection, in seconds (default is 300)@NotNull BuildExpiryConfig
int
@NotNull BuildHangingConfig
@NotNull CaptchaConfiguration
@NotNull ConcurrentBuildConfig
int
@NotNull DeploymentExpiryConfig
@Nullable ElasticConfiguration
@NotNull EphemeralAgentsConfiguration
Ephemeral agents global configuration.@NotNull String
@NotNull LookAndFeelConfiguration
Get Manual Encryption configuration.Get Personal Access Tokens expiration configuration.@NotNull QuarantineConfiguration
@NotNull RepositorySettings
boolean
Use correct Content-Type header when return artifact content.Get global RSS detection configuration.@NotNull RssSecurityConfiguration
Get RSS security configuration@NotNull SerializationSecurityConfig
@NotNull StorageLimits
Storage limits configuration.@Nullable String
getSystemProperty
(String key) int
Keeps a configuration counter for webresources cache bustingint
hashCode()
Auto-generated, reflection based hashcodeint
boolean
boolean
boolean
Returns true if deployments expiry is enabled.boolean
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) static void
setBuildExpiryConfig
(AdministrationConfiguration administrationConfiguration, BuildExpiryConfig buildExpiryConfig, ExpiryScheduler expiryScheduler) 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 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
setRepositorySettings
(RepositorySettings repositorySettings) void
setResolveArtifactContentTypeByExtension
(boolean resolveArtifactContentTypeByExtension) void
setRssDetectionConfiguration
(RssDetectionConfiguration rssDetectionConfiguration) Set global RSS detection configuration.void
setRssSecurityConfiguration
(RssSecurityConfiguration rssSecurityConfiguration) 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) 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) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.configuration.AdministrationConfigurationInterface
isEnableExternalUserManagement
-
Field Details
-
DEFAULT_URL
- See Also:
-
DEFAULT_BUILD_IN_QUEUE_TIMEOUT
public static final int DEFAULT_BUILD_IN_QUEUE_TIMEOUT- See Also:
-
DEFAULT_DASHBOARD_PAGE_SIZE
public static final int DEFAULT_DASHBOARD_PAGE_SIZE- See Also:
-
DEFAULT_BRANCH_DETECTION_INTERVAL
public static final int DEFAULT_BRANCH_DETECTION_INTERVAL- See Also:
-
DEFAULT_SERIALIZATION_SECURITY_CONFIG
-
-
Constructor Details
-
AdministrationConfigurationImpl
public AdministrationConfigurationImpl(@Nullable @Nullable UnconfigurableFeatureDefaults unconfigurableFeatureDefaults)
-
-
Method Details
-
setBuildExpiryConfig
public static void setBuildExpiryConfig(AdministrationConfiguration administrationConfiguration, BuildExpiryConfig buildExpiryConfig, ExpiryScheduler expiryScheduler) -
getBaseUrl
Description copied from class:AdministrationConfiguration
What is the base url for this server?- Specified by:
getBaseUrl
in interfaceAdministrationConfigurationInterface
- Specified by:
getBaseUrl
in classAdministrationConfiguration
- Returns:
- the base url
-
setBaseUrl
Description copied from class:AdministrationConfiguration
Define the system base url- Specified by:
setBaseUrl
in interfaceAdministrationConfigurationInterface
- Specified by:
setBaseUrl
in classAdministrationConfiguration
- Parameters:
baseUrl
- the url
-
isUseGzipCompression
public boolean isUseGzipCompression()Description copied from class:AdministrationConfiguration
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.
- Specified by:
isUseGzipCompression
in interfaceAdministrationConfigurationInterface
- Specified by:
isUseGzipCompression
in classAdministrationConfiguration
- Returns:
- true iff we require gzip compression
-
setUseGzipCompression
public void setUseGzipCompression(boolean useGzipCompression) Description copied from class:AdministrationConfiguration
Specify if we should we use gzip compression to compress Bamboo web pages.- Specified by:
setUseGzipCompression
in interfaceAdministrationConfigurationInterface
- Specified by:
setUseGzipCompression
in classAdministrationConfiguration
-
isEnableSignup
public boolean isEnableSignup()- Specified by:
isEnableSignup
in interfaceAdministrationConfigurationInterface
- Specified by:
isEnableSignup
in classAdministrationConfiguration
-
setEnableSignup
public void setEnableSignup(boolean enableSignup) - Specified by:
setEnableSignup
in interfaceAdministrationConfigurationInterface
- Specified by:
setEnableSignup
in classAdministrationConfiguration
-
setUnconfigurableFeatureDefaults
public void setUnconfigurableFeatureDefaults(@Nullable @Nullable UnconfigurableFeatureDefaults unconfigurableFeatureDefaults) - Specified by:
setUnconfigurableFeatureDefaults
in interfaceAdministrationConfigurationInterface
- Specified by:
setUnconfigurableFeatureDefaults
in classAdministrationConfiguration
-
isEnableAnonymousAccess
public boolean isEnableAnonymousAccess()- Specified by:
isEnableAnonymousAccess
in interfaceAdministrationConfigurationInterface
- Specified by:
isEnableAnonymousAccess
in classAdministrationConfiguration
-
setEnableAnonymousAccess
public void setEnableAnonymousAccess(boolean enableAnonymousAccess) - Specified by:
setEnableAnonymousAccess
in interfaceAdministrationConfigurationInterface
- Specified by:
setEnableAnonymousAccess
in classAdministrationConfiguration
-
getCaptchaConfiguration
- Specified by:
getCaptchaConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
getCaptchaConfiguration
in classAdministrationConfiguration
-
setCaptchaConfiguration
-
getConcurrentBuildConfig
- Specified by:
getConcurrentBuildConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
getConcurrentBuildConfig
in classAdministrationConfiguration
-
setConcurrentBuildConfig
-
isEnableViewContactDetails
public boolean isEnableViewContactDetails()- Specified by:
isEnableViewContactDetails
in interfaceAdministrationConfigurationInterface
- Specified by:
isEnableViewContactDetails
in classAdministrationConfiguration
-
setEnableViewContactDetails
public void setEnableViewContactDetails(boolean enableViewContactDetails) - Specified by:
setEnableViewContactDetails
in interfaceAdministrationConfigurationInterface
- Specified by:
setEnableViewContactDetails
in classAdministrationConfiguration
-
isDeploymentExpiryEnabled
public boolean isDeploymentExpiryEnabled()Description copied from interface:AdministrationConfigurationInterface
Returns true if deployments expiry is enabled.- Specified by:
isDeploymentExpiryEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
isDeploymentExpiryEnabled
in classAdministrationConfiguration
-
setDeploymentExpiryEnabled
public void setDeploymentExpiryEnabled(boolean deploymentExpiryEnabled) Description copied from interface:AdministrationConfigurationInterface
Enable or disable deployment expiry- Specified by:
setDeploymentExpiryEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
setDeploymentExpiryEnabled
in classAdministrationConfiguration
-
getBuildExpiryConfig
- Specified by:
getBuildExpiryConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
getBuildExpiryConfig
in classAdministrationConfiguration
-
setBuildExpiryConfig
- Specified by:
setBuildExpiryConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
setBuildExpiryConfig
in classAdministrationConfiguration
-
getDeploymentExpiryConfig
- Specified by:
getDeploymentExpiryConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
getDeploymentExpiryConfig
in classAdministrationConfiguration
-
setDeploymentExpiryConfig
- Specified by:
setDeploymentExpiryConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
setDeploymentExpiryConfig
in classAdministrationConfiguration
-
getElasticConfig
- Specified by:
getElasticConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
getElasticConfig
in classAdministrationConfiguration
-
setElasticConfig
- Specified by:
setElasticConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
setElasticConfig
in classAdministrationConfiguration
-
getEphemeralAgentsConfiguration
Description copied from interface:AdministrationConfigurationInterface
Ephemeral agents global configuration.- Specified by:
getEphemeralAgentsConfiguration
in interfaceAdministrationConfigurationInterface
-
setEphemeralAgentsConfiguration
public void setEphemeralAgentsConfiguration(EphemeralAgentsConfiguration ephemeralAgentsConfiguration) - Specified by:
setEphemeralAgentsConfiguration
in interfaceAdministrationConfigurationInterface
-
equals
Auto-generated, reflection based equals -
hashCode
public int hashCode()Auto-generated, reflection based hashcode -
setSystemProperty
- Specified by:
setSystemProperty
in interfaceAdministrationConfigurationInterface
- Specified by:
setSystemProperty
in classAdministrationConfiguration
-
getSystemProperty
- Specified by:
getSystemProperty
in interfaceAdministrationConfigurationInterface
- Specified by:
getSystemProperty
in classAdministrationConfiguration
-
getScheduleBackupConfiguration
- Specified by:
getScheduleBackupConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
getScheduleBackupConfiguration
in classAdministrationConfiguration
-
setScheduleBackupConfiguration
- Specified by:
setScheduleBackupConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
setScheduleBackupConfiguration
in classAdministrationConfiguration
-
getInstanceName
- Specified by:
getInstanceName
in interfaceAdministrationConfigurationInterface
- Specified by:
getInstanceName
in classAdministrationConfiguration
-
setInstanceName
- Specified by:
setInstanceName
in interfaceAdministrationConfigurationInterface
- Specified by:
setInstanceName
in classAdministrationConfiguration
-
getWebResourcesSystemCounter
public int getWebResourcesSystemCounter()Description copied from interface:AdministrationConfigurationInterface
Keeps a configuration counter for webresources cache busting- Specified by:
getWebResourcesSystemCounter
in interfaceAdministrationConfigurationInterface
- Specified by:
getWebResourcesSystemCounter
in classAdministrationConfiguration
-
incrementAndGetWebResourcesSystemCounter
public int incrementAndGetWebResourcesSystemCounter()- Specified by:
incrementAndGetWebResourcesSystemCounter
in interfaceAdministrationConfigurationInterface
- Specified by:
incrementAndGetWebResourcesSystemCounter
in classAdministrationConfiguration
-
getLookAndFeelConfiguration
- Specified by:
getLookAndFeelConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
getLookAndFeelConfiguration
in classAdministrationConfiguration
-
setLookAndFeelConfiguration
- Specified by:
setLookAndFeelConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
setLookAndFeelConfiguration
in classAdministrationConfiguration
-
isManageAcceptedSshHostKeys
public boolean isManageAcceptedSshHostKeys()- Specified by:
isManageAcceptedSshHostKeys
in interfaceAdministrationConfigurationInterface
-
setManageAcceptedSshHostKeys
public void setManageAcceptedSshHostKeys(boolean manageAcceptedSshHostKeys) - Specified by:
setManageAcceptedSshHostKeys
in interfaceAdministrationConfigurationInterface
-
isRemoteAgentFunctionEnabled
public boolean isRemoteAgentFunctionEnabled()- Specified by:
isRemoteAgentFunctionEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
isRemoteAgentFunctionEnabled
in classAdministrationConfiguration
-
setRemoteAgentFunctionEnabled
public void setRemoteAgentFunctionEnabled(boolean enabled) - Specified by:
setRemoteAgentFunctionEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
setRemoteAgentFunctionEnabled
in classAdministrationConfiguration
-
isRemoteAgentAuthenticationEnabled
public boolean isRemoteAgentAuthenticationEnabled()- Specified by:
isRemoteAgentAuthenticationEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
isRemoteAgentAuthenticationEnabled
in classAdministrationConfiguration
-
setRemoteAgentAuthenticationEnabled
public void setRemoteAgentAuthenticationEnabled(boolean remoteAgentAuthenticationEnabled) - Specified by:
setRemoteAgentAuthenticationEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
setRemoteAgentAuthenticationEnabled
in classAdministrationConfiguration
-
getBuildHangingConfig
- Specified by:
getBuildHangingConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
getBuildHangingConfig
in classAdministrationConfiguration
-
setBuildHangingConfig
- Specified by:
setBuildHangingConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
setBuildHangingConfig
in classAdministrationConfiguration
-
isGravatarSupportEnabled
public boolean isGravatarSupportEnabled()- Specified by:
isGravatarSupportEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
isGravatarSupportEnabled
in classAdministrationConfiguration
-
setGravatarSupportEnabled
public void setGravatarSupportEnabled(boolean gravatarSupportEnabled) - Specified by:
setGravatarSupportEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
setGravatarSupportEnabled
in classAdministrationConfiguration
-
getGravatarServerUrl
- Specified by:
getGravatarServerUrl
in interfaceAdministrationConfigurationInterface
- Specified by:
getGravatarServerUrl
in classAdministrationConfiguration
-
setGravatarServerUrl
- Specified by:
setGravatarServerUrl
in interfaceAdministrationConfigurationInterface
- Specified by:
setGravatarServerUrl
in classAdministrationConfiguration
-
isShowAdminContactDetailsToAnonymousUsers
public boolean isShowAdminContactDetailsToAnonymousUsers()- Specified by:
isShowAdminContactDetailsToAnonymousUsers
in interfaceAdministrationConfigurationInterface
- Specified by:
isShowAdminContactDetailsToAnonymousUsers
in classAdministrationConfiguration
-
setShowAdminContactDetailsToAnonymousUsers
public void setShowAdminContactDetailsToAnonymousUsers(boolean showAdminContactDetailsToAnonymousUsers) - Specified by:
setShowAdminContactDetailsToAnonymousUsers
in interfaceAdministrationConfigurationInterface
- Specified by:
setShowAdminContactDetailsToAnonymousUsers
in classAdministrationConfiguration
-
isShowAuthorsDetailsToUsers
public boolean isShowAuthorsDetailsToUsers()- Specified by:
isShowAuthorsDetailsToUsers
in interfaceAdministrationConfigurationInterface
- Specified by:
isShowAuthorsDetailsToUsers
in classAdministrationConfiguration
- Returns:
- true if logged-in user can view authors' related subpages
-
setShowAuthorsDetailsToUsers
public void setShowAuthorsDetailsToUsers(boolean showAuthorsDetailsToUsers) - Specified by:
setShowAuthorsDetailsToUsers
in interfaceAdministrationConfigurationInterface
- Specified by:
setShowAuthorsDetailsToUsers
in classAdministrationConfiguration
-
isUnauthenticatedRemoteTriggerAllowed
public boolean isUnauthenticatedRemoteTriggerAllowed()- Specified by:
isUnauthenticatedRemoteTriggerAllowed
in interfaceAdministrationConfigurationInterface
- Specified by:
isUnauthenticatedRemoteTriggerAllowed
in classAdministrationConfiguration
- Returns:
- true if anonymous user can trigger repository remote trigger and Bamboo Specs detection
-
setUnauthenticatedRemoteTriggerAllowed
public void setUnauthenticatedRemoteTriggerAllowed(boolean unauthenticatedRemoteTriggerAllowed) - Specified by:
setUnauthenticatedRemoteTriggerAllowed
in interfaceAdministrationConfigurationInterface
- Specified by:
setUnauthenticatedRemoteTriggerAllowed
in classAdministrationConfiguration
-
isAgentAssignmentModificationByUsersAllowed
public boolean isAgentAssignmentModificationByUsersAllowed()- Specified by:
isAgentAssignmentModificationByUsersAllowed
in interfaceAdministrationConfigurationInterface
- Returns:
- true if agent assignment can be changed by regular users
-
setAgentAssignmentModificationByUsersAllowed
public void setAgentAssignmentModificationByUsersAllowed(boolean agentAssignmentModificationByUsersAllowed) - Specified by:
setAgentAssignmentModificationByUsersAllowed
in interfaceAdministrationConfigurationInterface
-
getBuildHangedInQueueNotificationTimeout
public int getBuildHangedInQueueNotificationTimeout() -
setBuildHangedInQueueNotificationTimeout
public void setBuildHangedInQueueNotificationTimeout(int buildHangedInQueueNotificationTimeout) -
isEnableRestrictedAdmin
public boolean isEnableRestrictedAdmin()- Specified by:
isEnableRestrictedAdmin
in interfaceAdministrationConfigurationInterface
- Specified by:
isEnableRestrictedAdmin
in classAdministrationConfiguration
-
setEnableRestrictedAdmin
public void setEnableRestrictedAdmin(boolean enableRestrictedAdmin) - Specified by:
setEnableRestrictedAdmin
in interfaceAdministrationConfigurationInterface
- Specified by:
setEnableRestrictedAdmin
in classAdministrationConfiguration
-
isSoxComplianceModeEnabled
public boolean isSoxComplianceModeEnabled()Description copied from interface:AdministrationConfigurationInterface
Whether Bamboo instance SOX compliance mode is enabled.- Specified by:
isSoxComplianceModeEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
isSoxComplianceModeEnabled
in classAdministrationConfiguration
-
setSoxComplianceModeEnabled
public void setSoxComplianceModeEnabled(boolean soxComplianceModeEnabled) Description copied from interface:AdministrationConfigurationInterface
Enables or disables Bamboo instance SOX compliance mode.- Specified by:
setSoxComplianceModeEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
setSoxComplianceModeEnabled
in classAdministrationConfiguration
-
isAuditLoggingEnabled
public boolean isAuditLoggingEnabled()- Specified by:
isAuditLoggingEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
isAuditLoggingEnabled
in classAdministrationConfiguration
-
setAuditLoggingEnabled
public void setAuditLoggingEnabled(boolean auditLoggingEnabled) - Specified by:
setAuditLoggingEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
setAuditLoggingEnabled
in classAdministrationConfiguration
-
getDashboardPageSize
public int getDashboardPageSize()- Specified by:
getDashboardPageSize
in interfaceAdministrationConfigurationInterface
- Specified by:
getDashboardPageSize
in classAdministrationConfiguration
-
setDashboardPageSize
public void setDashboardPageSize(int dashboardPageSize) - Specified by:
setDashboardPageSize
in interfaceAdministrationConfigurationInterface
- Specified by:
setDashboardPageSize
in classAdministrationConfiguration
-
getBranchDetectionCheckInterval
public int getBranchDetectionCheckInterval()Description copied from class:AdministrationConfiguration
Get the interval between branch detection, in seconds (default is 300)- Specified by:
getBranchDetectionCheckInterval
in interfaceAdministrationConfigurationInterface
- Specified by:
getBranchDetectionCheckInterval
in classAdministrationConfiguration
-
setBranchDetectionCheckInterval
public void setBranchDetectionCheckInterval(int branchDetectionCheckInterval) Description copied from class:AdministrationConfiguration
Set the interval between branch detection, in seconds- Specified by:
setBranchDetectionCheckInterval
in interfaceAdministrationConfigurationInterface
- Specified by:
setBranchDetectionCheckInterval
in classAdministrationConfiguration
-
getRepositorySettings
- Specified by:
getRepositorySettings
in interfaceAdministrationConfigurationInterface
- Specified by:
getRepositorySettings
in classAdministrationConfiguration
-
setRepositorySettings
-
isXsrfProtectionEnabled
public boolean isXsrfProtectionEnabled()- Specified by:
isXsrfProtectionEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
isXsrfProtectionEnabled
in classAdministrationConfiguration
-
setXsrfProtectionEnabled
public void setXsrfProtectionEnabled(boolean xsrfProtectionEnabled) - Specified by:
setXsrfProtectionEnabled
in interfaceAdministrationConfigurationInterface
- Specified by:
setXsrfProtectionEnabled
in classAdministrationConfiguration
-
doesXsrfAllowMutativeGets
public boolean doesXsrfAllowMutativeGets()- Specified by:
doesXsrfAllowMutativeGets
in interfaceAdministrationConfigurationInterface
- Specified by:
doesXsrfAllowMutativeGets
in classAdministrationConfiguration
-
setXsrfAllowsMutativeGets
public void setXsrfAllowsMutativeGets(boolean xsrfAllowsMutativeGets) - Specified by:
setXsrfAllowsMutativeGets
in interfaceAdministrationConfigurationInterface
- Specified by:
setXsrfAllowsMutativeGets
in classAdministrationConfiguration
-
getResolveArtifactContentTypeByExtension
public boolean getResolveArtifactContentTypeByExtension()Description copied from interface:AdministrationConfigurationInterface
Use correct Content-Type header when return artifact content. See components/bamboo-web-app/src/main/webapp/WEB-INF/mimetypes.xml- Specified by:
getResolveArtifactContentTypeByExtension
in interfaceAdministrationConfigurationInterface
- Specified by:
getResolveArtifactContentTypeByExtension
in classAdministrationConfiguration
- Returns:
- true if artifact's Content-Type header is mapped to resource extension.
-
setResolveArtifactContentTypeByExtension
public void setResolveArtifactContentTypeByExtension(boolean resolveArtifactContentTypeByExtension) - Specified by:
setResolveArtifactContentTypeByExtension
in interfaceAdministrationConfigurationInterface
- Specified by:
setResolveArtifactContentTypeByExtension
in classAdministrationConfiguration
-
getQuarantineConfiguration
- Specified by:
getQuarantineConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
getQuarantineConfiguration
in classAdministrationConfiguration
-
setQuarantineConfiguration
public void setQuarantineConfiguration(@NotNull @NotNull QuarantineConfiguration quarantineConfiguration) - Specified by:
setQuarantineConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
setQuarantineConfiguration
in classAdministrationConfiguration
-
getStorageLimit
Description copied from interface:AdministrationConfigurationInterface
Storage limits configuration. Allows to limit local disk usage by artifacts.- Specified by:
getStorageLimit
in interfaceAdministrationConfigurationInterface
- Specified by:
getStorageLimit
in classAdministrationConfiguration
- Returns:
- storage limits
-
setStorageLimit
- Specified by:
setStorageLimit
in interfaceAdministrationConfigurationInterface
- Specified by:
setStorageLimit
in classAdministrationConfiguration
-
getSerializationSecurityConfig
- Specified by:
getSerializationSecurityConfig
in interfaceAdministrationConfigurationInterface
-
setSerializationSecurityConfig
public void setSerializationSecurityConfig(@NotNull @NotNull SerializationSecurityConfig serializationSecurityConfig) - Specified by:
setSerializationSecurityConfig
in interfaceAdministrationConfigurationInterface
-
isSecurityTokenRequiredFromAgents
public boolean isSecurityTokenRequiredFromAgents()Description copied from interface:AdministrationConfigurationInterface
Whether security token is required from remote agents as a preliminary authentication method.- Specified by:
isSecurityTokenRequiredFromAgents
in interfaceAdministrationConfigurationInterface
- Specified by:
isSecurityTokenRequiredFromAgents
in classAdministrationConfiguration
-
setSecurityTokenRequiredFromAgents
public void setSecurityTokenRequiredFromAgents(boolean securityTokenRequiredFromAgents) Description copied from interface:AdministrationConfigurationInterface
Set whether security token is required from remote agents as a preliminary authentication method.- Specified by:
setSecurityTokenRequiredFromAgents
in interfaceAdministrationConfigurationInterface
- Specified by:
setSecurityTokenRequiredFromAgents
in classAdministrationConfiguration
-
getRssSecurityConfiguration
Description copied from interface:AdministrationConfigurationInterface
Get RSS security configuration- Specified by:
getRssSecurityConfiguration
in interfaceAdministrationConfigurationInterface
-
setRssSecurityConfiguration
Description copied from interface:AdministrationConfigurationInterface
Set RSS security configuration- Specified by:
setRssSecurityConfiguration
in interfaceAdministrationConfigurationInterface
-
getRssDetectionConfiguration
Description copied from interface:AdministrationConfigurationInterface
Get global RSS detection configuration.- Specified by:
getRssDetectionConfiguration
in interfaceAdministrationConfigurationInterface
-
setRssDetectionConfiguration
Description copied from interface:AdministrationConfigurationInterface
Set global RSS detection configuration.- Specified by:
setRssDetectionConfiguration
in interfaceAdministrationConfigurationInterface
-
getManualEncryptionConfiguration
Description copied from interface:AdministrationConfigurationInterface
Get Manual Encryption configuration.- Specified by:
getManualEncryptionConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
getManualEncryptionConfiguration
in classAdministrationConfiguration
-
setManualEncryptionConfiguration
public void setManualEncryptionConfiguration(ManualEncryptionConfiguration manualEncryptionConfiguration) Description copied from interface:AdministrationConfigurationInterface
Set Manual Encryption configuration.- Specified by:
setManualEncryptionConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
setManualEncryptionConfiguration
in classAdministrationConfiguration
-
isQuietPeriodGloballyDisabled
Description copied from interface:AdministrationConfigurationInterface
Whether the quiet period is disabled globally or can be configured per repository.- Specified by:
isQuietPeriodGloballyDisabled
in interfaceAdministrationConfigurationInterface
- Specified by:
isQuietPeriodGloballyDisabled
in classAdministrationConfiguration
-
setQuietPeriodGloballyDisabled
Description copied from interface:AdministrationConfigurationInterface
Sets a quiet period globally. If disabled, a quiet period won't be used on any repository. If enabled, the configuration is repository specific.- Specified by:
setQuietPeriodGloballyDisabled
in interfaceAdministrationConfigurationInterface
- Specified by:
setQuietPeriodGloballyDisabled
in classAdministrationConfiguration
-
setPersonalAccessTokensExpirationConfiguration
public void setPersonalAccessTokensExpirationConfiguration(PersonalAccessTokensExpirationConfiguration personalAccessTokensExpirationConfiguration) Description copied from interface:AdministrationConfigurationInterface
Set Personal Access Tokens expiration configuration.- Specified by:
setPersonalAccessTokensExpirationConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
setPersonalAccessTokensExpirationConfiguration
in classAdministrationConfiguration
-
getPersonalAccessTokensExpirationConfiguration
Description copied from interface:AdministrationConfigurationInterface
Get Personal Access Tokens expiration configuration.- Specified by:
getPersonalAccessTokensExpirationConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
getPersonalAccessTokensExpirationConfiguration
in classAdministrationConfiguration
-