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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description AdministrationConfigurationImpl(@Nullable UnconfigurableFeatureDefaults unconfigurableFeatureDefaults)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doesXsrfAllowMutativeGets()
boolean
equals(Object o)
Auto-generated, reflection based equalsString
getBaseUrl()
What is the base url for this server?int
getBranchDetectionCheckInterval()
Get the interval between branch detection, in seconds (default is 300)@NotNull BuildExpiryConfig
getBuildExpiryConfig()
int
getBuildHangedInQueueNotificationTimeout()
@NotNull BuildHangingConfig
getBuildHangingConfig()
@NotNull CaptchaConfiguration
getCaptchaConfiguration()
@NotNull ConcurrentBuildConfig
getConcurrentBuildConfig()
int
getDashboardPageSize()
@NotNull DeploymentExpiryConfig
getDeploymentExpiryConfig()
@Nullable ElasticConfiguration
getElasticConfig()
@NotNull EphemeralAgentsConfiguration
getEphemeralAgentsConfiguration()
Ephemeral agents global configuration.String
getGravatarServerUrl()
@NotNull String
getInstanceName()
@NotNull LookAndFeelConfiguration
getLookAndFeelConfiguration()
ManualEncryptionConfiguration
getManualEncryptionConfiguration()
Get Manual Encryption configuration.PersonalAccessTokensExpirationConfiguration
getPersonalAccessTokensExpirationConfiguration()
Get Personal Access Tokens expiration configuration.@NotNull QuarantineConfiguration
getQuarantineConfiguration()
@NotNull RepositorySettings
getRepositorySettings()
boolean
getResolveArtifactContentTypeByExtension()
Use correct Content-Type header when return artifact content.RssDetectionConfiguration
getRssDetectionConfiguration()
Get global RSS detection configuration.@NotNull RssSecurityConfiguration
getRssSecurityConfiguration()
Get RSS security configurationScheduleBackupConfiguration
getScheduleBackupConfiguration()
@NotNull SerializationSecurityConfig
getSerializationSecurityConfig()
@NotNull StorageLimits
getStorageLimit()
Storage limits configuration.@Nullable String
getSystemProperty(String key)
int
getWebResourcesSystemCounter()
Keeps a configuration counter for webresources cache bustingint
hashCode()
Auto-generated, reflection based hashcodeint
incrementAndGetWebResourcesSystemCounter()
boolean
isAgentAssignmentModificationByUsersAllowed()
boolean
isAuditLoggingEnabled()
boolean
isDeploymentExpiryEnabled()
Returns true if deployments expiry is enabled.boolean
isEnableAnonymousAccess()
boolean
isEnableRestrictedAdmin()
boolean
isEnableSignup()
boolean
isEnableViewContactDetails()
boolean
isGravatarSupportEnabled()
boolean
isManageAcceptedSshHostKeys()
Boolean
isQuietPeriodGloballyDisabled()
Whether the quiet period is disabled globally or can be configured per repository.boolean
isRemoteAgentAuthenticationEnabled()
boolean
isRemoteAgentFunctionEnabled()
boolean
isSecurityTokenRequiredFromAgents()
Whether security token is required from remote agents as a preliminary authentication method.boolean
isShowAdminContactDetailsToAnonymousUsers()
boolean
isShowAuthorsDetailsToUsers()
boolean
isSoxComplianceModeEnabled()
Whether Bamboo instance SOX compliance mode is enabled.boolean
isUnauthenticatedRemoteTriggerAllowed()
boolean
isUseGzipCompression()
Should we use gzip compression to compress Bamboo web pages?boolean
isXsrfProtectionEnabled()
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 Detail
-
DEFAULT_URL
public static final String DEFAULT_URL
- See Also:
- Constant Field Values
-
DEFAULT_BUILD_IN_QUEUE_TIMEOUT
public static final int DEFAULT_BUILD_IN_QUEUE_TIMEOUT
- See Also:
- Constant Field Values
-
DEFAULT_DASHBOARD_PAGE_SIZE
public static final int DEFAULT_DASHBOARD_PAGE_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_BRANCH_DETECTION_INTERVAL
public static final int DEFAULT_BRANCH_DETECTION_INTERVAL
- See Also:
- Constant Field Values
-
DEFAULT_SERIALIZATION_SECURITY_CONFIG
public static final SerializationSecurityConfig DEFAULT_SERIALIZATION_SECURITY_CONFIG
-
-
Constructor Detail
-
AdministrationConfigurationImpl
public AdministrationConfigurationImpl(@Nullable @Nullable UnconfigurableFeatureDefaults unconfigurableFeatureDefaults)
-
-
Method Detail
-
setBuildExpiryConfig
public static void setBuildExpiryConfig(AdministrationConfiguration administrationConfiguration, BuildExpiryConfig buildExpiryConfig, ExpiryScheduler expiryScheduler)
-
getBaseUrl
public String 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
public void setBaseUrl(String baseUrl)
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
@NotNull public @NotNull CaptchaConfiguration getCaptchaConfiguration()
- Specified by:
getCaptchaConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
getCaptchaConfiguration
in classAdministrationConfiguration
-
setCaptchaConfiguration
public void setCaptchaConfiguration(CaptchaConfiguration captchaConfiguration)
-
getConcurrentBuildConfig
@NotNull public @NotNull ConcurrentBuildConfig getConcurrentBuildConfig()
- Specified by:
getConcurrentBuildConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
getConcurrentBuildConfig
in classAdministrationConfiguration
-
setConcurrentBuildConfig
public void setConcurrentBuildConfig(ConcurrentBuildConfig concurrentBuildConfig)
-
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
@NotNull public @NotNull BuildExpiryConfig getBuildExpiryConfig()
- Specified by:
getBuildExpiryConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
getBuildExpiryConfig
in classAdministrationConfiguration
-
setBuildExpiryConfig
public void setBuildExpiryConfig(BuildExpiryConfig buildExpiryConfig)
- Specified by:
setBuildExpiryConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
setBuildExpiryConfig
in classAdministrationConfiguration
-
getDeploymentExpiryConfig
@NotNull public @NotNull DeploymentExpiryConfig getDeploymentExpiryConfig()
- Specified by:
getDeploymentExpiryConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
getDeploymentExpiryConfig
in classAdministrationConfiguration
-
setDeploymentExpiryConfig
public void setDeploymentExpiryConfig(DeploymentExpiryConfig deploymentExpiryConfig)
- Specified by:
setDeploymentExpiryConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
setDeploymentExpiryConfig
in classAdministrationConfiguration
-
getElasticConfig
@Nullable public @Nullable ElasticConfiguration getElasticConfig()
- Specified by:
getElasticConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
getElasticConfig
in classAdministrationConfiguration
-
setElasticConfig
public void setElasticConfig(ElasticConfiguration elasticConfig)
- Specified by:
setElasticConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
setElasticConfig
in classAdministrationConfiguration
-
getEphemeralAgentsConfiguration
@NotNull public @NotNull EphemeralAgentsConfiguration 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
public boolean equals(Object o)
Auto-generated, reflection based equals
-
hashCode
public int hashCode()
Auto-generated, reflection based hashcode
-
setSystemProperty
public void setSystemProperty(String key, String value)
- Specified by:
setSystemProperty
in interfaceAdministrationConfigurationInterface
- Specified by:
setSystemProperty
in classAdministrationConfiguration
-
getSystemProperty
@Nullable public @Nullable String getSystemProperty(String key)
- Specified by:
getSystemProperty
in interfaceAdministrationConfigurationInterface
- Specified by:
getSystemProperty
in classAdministrationConfiguration
-
getScheduleBackupConfiguration
public ScheduleBackupConfiguration getScheduleBackupConfiguration()
- Specified by:
getScheduleBackupConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
getScheduleBackupConfiguration
in classAdministrationConfiguration
-
setScheduleBackupConfiguration
public void setScheduleBackupConfiguration(ScheduleBackupConfiguration scheduleBackupConfiguration)
- Specified by:
setScheduleBackupConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
setScheduleBackupConfiguration
in classAdministrationConfiguration
-
getInstanceName
@NotNull public @NotNull String getInstanceName()
- Specified by:
getInstanceName
in interfaceAdministrationConfigurationInterface
- Specified by:
getInstanceName
in classAdministrationConfiguration
-
setInstanceName
public void setInstanceName(String instanceName)
- 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
@NotNull public @NotNull LookAndFeelConfiguration getLookAndFeelConfiguration()
- Specified by:
getLookAndFeelConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
getLookAndFeelConfiguration
in classAdministrationConfiguration
-
setLookAndFeelConfiguration
public void setLookAndFeelConfiguration(LookAndFeelConfiguration lookandfeelConfiguration)
- 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
@NotNull public @NotNull BuildHangingConfig getBuildHangingConfig()
- Specified by:
getBuildHangingConfig
in interfaceAdministrationConfigurationInterface
- Specified by:
getBuildHangingConfig
in classAdministrationConfiguration
-
setBuildHangingConfig
public void setBuildHangingConfig(BuildHangingConfig myBuildHangingConfig)
- 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
public String getGravatarServerUrl()
- Specified by:
getGravatarServerUrl
in interfaceAdministrationConfigurationInterface
- Specified by:
getGravatarServerUrl
in classAdministrationConfiguration
-
setGravatarServerUrl
public void setGravatarServerUrl(String gravatarUrl)
- 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
@NotNull public @NotNull RepositorySettings getRepositorySettings()
- Specified by:
getRepositorySettings
in interfaceAdministrationConfigurationInterface
- Specified by:
getRepositorySettings
in classAdministrationConfiguration
-
setRepositorySettings
public void setRepositorySettings(RepositorySettings repositorySettings)
-
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
@NotNull public @NotNull QuarantineConfiguration 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
@NotNull public @NotNull StorageLimits 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
public void setStorageLimit(@NotNull @NotNull StorageLimits storageLimits)
- Specified by:
setStorageLimit
in interfaceAdministrationConfigurationInterface
- Specified by:
setStorageLimit
in classAdministrationConfiguration
-
getSerializationSecurityConfig
@NotNull public @NotNull SerializationSecurityConfig 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
@NotNull public @NotNull RssSecurityConfiguration getRssSecurityConfiguration()
Description copied from interface:AdministrationConfigurationInterface
Get RSS security configuration- Specified by:
getRssSecurityConfiguration
in interfaceAdministrationConfigurationInterface
-
setRssSecurityConfiguration
public void setRssSecurityConfiguration(RssSecurityConfiguration rssSecurityConfiguration)
Description copied from interface:AdministrationConfigurationInterface
Set RSS security configuration- Specified by:
setRssSecurityConfiguration
in interfaceAdministrationConfigurationInterface
-
getRssDetectionConfiguration
public RssDetectionConfiguration getRssDetectionConfiguration()
Description copied from interface:AdministrationConfigurationInterface
Get global RSS detection configuration.- Specified by:
getRssDetectionConfiguration
in interfaceAdministrationConfigurationInterface
-
setRssDetectionConfiguration
public void setRssDetectionConfiguration(RssDetectionConfiguration rssDetectionConfiguration)
Description copied from interface:AdministrationConfigurationInterface
Set global RSS detection configuration.- Specified by:
setRssDetectionConfiguration
in interfaceAdministrationConfigurationInterface
-
getManualEncryptionConfiguration
public ManualEncryptionConfiguration 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
public Boolean 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
public void setQuietPeriodGloballyDisabled(Boolean quietPeriodGloballyDisabled)
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
public PersonalAccessTokensExpirationConfiguration getPersonalAccessTokensExpirationConfiguration()
Description copied from interface:AdministrationConfigurationInterface
Get Personal Access Tokens expiration configuration.- Specified by:
getPersonalAccessTokensExpirationConfiguration
in interfaceAdministrationConfigurationInterface
- Specified by:
getPersonalAccessTokensExpirationConfiguration
in classAdministrationConfiguration
-
-