@Immutable public class DefaultFeatureManager extends Object implements FeatureManager
Constructor and Description |
---|
DefaultFeatureManager() |
Modifier and Type | Method and Description |
---|---|
Optional<Long> |
getBuildArtifactSizeLimit()
Maximum size of artifacts for single build result in bytes
|
UnconfigurableFeatureDefaults |
getUnconfigurableFeatureDefaults() |
boolean |
isArtifactHandlerUiEnabled()
Whether we let the user configure artifact handlers.
|
boolean |
isArtifactStorageSpaceLimited()
Whether server-side artifact storage space is limited according to
AdministrationConfiguration.getStorageLimit() . |
boolean |
isBulkProjectRemoveAllowed()
Whether project remove is allowed for bulk operations
|
boolean |
isChangeBaseUrlAllowed()
Whether administrators are allowed to change the instance's base URL.
|
boolean |
isCreateBranchesForPullRequestsEnabled()
Whether automatic creation of plan branches for Stash pull requests is enabled.
|
boolean |
isDetectCapabilitiesOnStartup()
Whether to force detection of server capabilities on startup
|
boolean |
isElasticAgentsSupported()
Whether elastic agents are enabled
|
boolean |
isExportToYamlEnabled() |
boolean |
isExportToYamlUiEnabled() |
boolean |
isFinalStagesEnabled()
Whether final stages are configurable in the ui.
|
boolean |
isFusionDeploymentsSupportEnabled() |
boolean |
isGlobalSecuritySettingsEnabled()
Whether you can edit the global security settings
|
boolean |
isGravatarConfigurable() |
boolean |
isGzipCompressionSupported()
Whether you can turn on GZip compression or not
|
boolean |
isIMServerConfigurationSupported()
Whether IM servers are configurable
|
boolean |
isLegacyRepositoryEnabled()
Whether to turn on old repositories like CVS and Perforce
|
boolean |
isLimitedTimeQuarantineEnabled()
Whether the limited time quarantine feature is enabled.
|
boolean |
isLocalAgentsSupported()
Whether local agents are enabled
|
boolean |
isMailServerConfigurationSupported()
Whether mail servers are configurable
|
boolean |
isMavenProjectImportSupported()
Whether you can import from a Maven pom.xml
|
boolean |
isOnDemandAnalyticsBehaviour()
Used by the analytics plugin to determine if Cloud specific analytics behaviour should be used (e.g.
|
boolean |
isOnDemandInstance()
Whether or not we're on Cloud.
|
boolean |
isPasswordChangeAllowed()
Whether users are allowed to change passwords
|
boolean |
isPdlEnabled()
Whether to use the new pdl or not
|
boolean |
isPublicIpRequiredForVpc()
Whether the current Bamboo setup prevents people from using VPCs unless their instances have a public IP.
|
boolean |
isRemoteAgentShellEnabled() |
boolean |
isRemoteAgentsManagementEnabled()
Whether remote agents can be managed by admin
|
boolean |
isRemoteAgentsSupported()
Whether remote agents are enabled
|
boolean |
isRemovingLabelsAndCommentsAllowedForNonPlanAdmin()
Returns true if EDIT permission on plan is not required for removing plans and labels
|
boolean |
isRepositoryDashboardEnabled()
Whether new repository UI is enabled.
|
boolean |
isRequiredEc2Configuration()
Whether EC2 configuration is required for plan creation
|
boolean |
isRequiresEc2TermsAcceptance()
Whether EC2 configuration is blocked until users accept terms and conditions
|
boolean |
isRestrictedAdminConfigurable()
Whether restricted admin permission can be turn on or off
|
boolean |
isRotpAdminShortcutsEnabled()
Whether to use rotp admin shortcuts or not.
|
boolean |
isRotpEnabled()
Whether to show rotp features or not.
|
boolean |
isRotpProjectShortcutsEnabled()
Whether to show rotp project shortcuts feature or not.
|
boolean |
isSignupConfigurable()
Whether you can configure signups
|
boolean |
isSoxComplianceModeConfigurable()
Whether SOX compliance is configurable (if not then it is disabled)
|
boolean |
isStashRepositoryPluginEnabled()
Whether or not enable stash repository plugin enabled (ssh use)
|
boolean |
isSupportToolsPluginEnabled()
Whether or not to make the "Atlassian Support Tools" functionality available to admin users.
|
boolean |
isTriggersOnEnvironmentPagesEnabled()
Whether to show trigger part of Environment create and update pages
|
boolean |
isUpdatingStashWithBuildStatusEnabled()
Whether updating Stash with build status after builds are completed is enabled.
|
boolean |
isUpmFullyFunctional()
Whether the UPM is fully functional - allows plugin installation.
|
boolean |
isUserManagementEnabled()
Whether you can edit the users and groups
|
boolean |
isUserProfileEnabled()
Whether users can view their user profile page
|
public boolean isLocalAgentsSupported()
FeatureManager
isLocalAgentsSupported
in interface FeatureManager
public boolean isRemoteAgentsSupported()
FeatureManager
isRemoteAgentsSupported
in interface FeatureManager
public boolean isRemoteAgentsManagementEnabled()
FeatureManager
isRemoteAgentsManagementEnabled
in interface FeatureManager
public boolean isElasticAgentsSupported()
FeatureManager
isElasticAgentsSupported
in interface FeatureManager
public boolean isGzipCompressionSupported()
FeatureManager
isGzipCompressionSupported
in interface FeatureManager
public boolean isMavenProjectImportSupported()
FeatureManager
isMavenProjectImportSupported
in interface FeatureManager
public boolean isSignupConfigurable()
FeatureManager
isSignupConfigurable
in interface FeatureManager
public boolean isRestrictedAdminConfigurable()
FeatureManager
isRestrictedAdminConfigurable
in interface FeatureManager
public boolean isPasswordChangeAllowed()
FeatureManager
isPasswordChangeAllowed
in interface FeatureManager
public boolean isLegacyRepositoryEnabled()
FeatureManager
isLegacyRepositoryEnabled
in interface FeatureManager
public boolean isMailServerConfigurationSupported()
FeatureManager
isMailServerConfigurationSupported
in interface FeatureManager
public boolean isIMServerConfigurationSupported()
FeatureManager
isIMServerConfigurationSupported
in interface FeatureManager
public boolean isUserProfileEnabled()
FeatureManager
isUserProfileEnabled
in interface FeatureManager
public boolean isGlobalSecuritySettingsEnabled()
FeatureManager
isGlobalSecuritySettingsEnabled
in interface FeatureManager
public boolean isUserManagementEnabled()
FeatureManager
isUserManagementEnabled
in interface FeatureManager
public boolean isDetectCapabilitiesOnStartup()
FeatureManager
isDetectCapabilitiesOnStartup
in interface FeatureManager
public boolean isRequiresEc2TermsAcceptance()
FeatureManager
isRequiresEc2TermsAcceptance
in interface FeatureManager
public boolean isRequiredEc2Configuration()
FeatureManager
isRequiredEc2Configuration
in interface FeatureManager
public boolean isBulkProjectRemoveAllowed()
FeatureManager
isBulkProjectRemoveAllowed
in interface FeatureManager
public Optional<Long> getBuildArtifactSizeLimit()
FeatureManager
getBuildArtifactSizeLimit
in interface FeatureManager
public boolean isRotpEnabled()
FeatureManager
isRotpEnabled
in interface FeatureManager
public boolean isRotpProjectShortcutsEnabled()
FeatureManager
isRotpProjectShortcutsEnabled
in interface FeatureManager
public boolean isRotpAdminShortcutsEnabled()
FeatureManager
isRotpAdminShortcutsEnabled
in interface FeatureManager
public boolean isPdlEnabled()
FeatureManager
isPdlEnabled
in interface FeatureManager
public boolean isTriggersOnEnvironmentPagesEnabled()
FeatureManager
isTriggersOnEnvironmentPagesEnabled
in interface FeatureManager
public boolean isChangeBaseUrlAllowed()
FeatureManager
isChangeBaseUrlAllowed
in interface FeatureManager
true
; if administrators are allowed to change the instance's base URL; otherwise, false
.public boolean isUpmFullyFunctional()
FeatureManager
isUpmFullyFunctional
in interface FeatureManager
true
; if the UPM is fully functional - allows plugin installation; otherwise, false
.public boolean isSupportToolsPluginEnabled()
FeatureManager
isSupportToolsPluginEnabled
in interface FeatureManager
public boolean isOnDemandInstance()
FeatureManager
isOnDemandInstance
in interface FeatureManager
public boolean isFusionDeploymentsSupportEnabled()
isFusionDeploymentsSupportEnabled
in interface FeatureManager
public boolean isStashRepositoryPluginEnabled()
FeatureManager
isStashRepositoryPluginEnabled
in interface FeatureManager
public boolean isRemovingLabelsAndCommentsAllowedForNonPlanAdmin()
FeatureManager
isRemovingLabelsAndCommentsAllowedForNonPlanAdmin
in interface FeatureManager
public UnconfigurableFeatureDefaults getUnconfigurableFeatureDefaults()
getUnconfigurableFeatureDefaults
in interface FeatureManager
public boolean isUpdatingStashWithBuildStatusEnabled()
FeatureManager
isUpdatingStashWithBuildStatusEnabled
in interface FeatureManager
public boolean isPublicIpRequiredForVpc()
FeatureManager
isPublicIpRequiredForVpc
in interface FeatureManager
public boolean isCreateBranchesForPullRequestsEnabled()
FeatureManager
isCreateBranchesForPullRequestsEnabled
in interface FeatureManager
public boolean isRemoteAgentShellEnabled()
isRemoteAgentShellEnabled
in interface FeatureManager
public boolean isOnDemandAnalyticsBehaviour()
FeatureManager
isOnDemandAnalyticsBehaviour
in interface FeatureManager
public boolean isGravatarConfigurable()
isGravatarConfigurable
in interface FeatureManager
public boolean isLimitedTimeQuarantineEnabled()
FeatureManager
isLimitedTimeQuarantineEnabled
in interface FeatureManager
public boolean isArtifactStorageSpaceLimited()
FeatureManager
AdministrationConfiguration.getStorageLimit()
.isArtifactStorageSpaceLimited
in interface FeatureManager
public boolean isSoxComplianceModeConfigurable()
FeatureManager
isSoxComplianceModeConfigurable
in interface FeatureManager
public boolean isFinalStagesEnabled()
FeatureManager
isFinalStagesEnabled
in interface FeatureManager
public boolean isRepositoryDashboardEnabled()
FeatureManager
isRepositoryDashboardEnabled
in interface FeatureManager
public boolean isArtifactHandlerUiEnabled()
FeatureManager
isArtifactHandlerUiEnabled
in interface FeatureManager
public boolean isExportToYamlEnabled()
isExportToYamlEnabled
in interface FeatureManager
public boolean isExportToYamlUiEnabled()
isExportToYamlUiEnabled
in interface FeatureManager
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.