Package com.atlassian.bamboo
Interface FeatureManager
- All Known Implementing Classes:
DefaultFeatureManager
@Immutable
public interface FeatureManager
An interface that controls what features are turned on and off.
-
Method Summary
Modifier and TypeMethodDescriptionMaximum size of artifacts for single build result in bytesdefault boolean
Is agent build resiliency onboolean
True if RSS should always create specs result, even if plan is not changed by a commit.boolean
Whether we let the user configure artifact handlers.default boolean
Deprecated.since 10.0 always trueboolean
Whether server-side artifact storage space is limited according toAdministrationConfiguration.getStorageLimit()
.boolean
boolean
default boolean
Since Bamboo 9.5, the DC license is the only valid license type.boolean
boolean
Whether elastic agents are enableddefault boolean
Deprecated.since 7.1, always trueboolean
boolean
boolean
True if the hot swap import is available on the Bamboo instance.boolean
Whether local agents are enabledboolean
Whether to use the new pdl or notboolean
Returns true if Bamboo is measuring and gathering performance data.default boolean
Deprecated.since 10.0 always trueboolean
Whether the current Bamboo setup prevents people from using VPCs unless their instances have a public IP.boolean
boolean
Whether remote agents can be managed by adminboolean
Whether remote agents are enabledboolean
Returns true if EDIT permission on plan is not required for removing plans and labelsboolean
Whether new repository UI is enabled.boolean
boolean
Deprecated.since 8.0 returns false alwaysboolean
Whether to use rotp admin shortcuts or not.boolean
Whether to show rotp features or not.boolean
Whether to show rotp project shortcuts feature or not.boolean
boolean
True if seamless restarts are currently enabled.boolean
True if seamless restarts' persistence is turned on.boolean
Whether SOX compliance is configurable (if not then it is disabled)boolean
Whether updating Stash with build status after builds are completed is enabled.boolean
Whether updating Stash (Bitbucket Server) with deployments from deployment projects is enabledboolean
Whether updating Stash with extended build statuses is disableddefault boolean
Deprecated.since 10.0 always onboolean
Whether web sudo checks are enabled when accessing admin pages
-
Method Details
-
isLocalAgentsSupported
boolean isLocalAgentsSupported()Whether local agents are enabled- Returns:
- true if local agents are supported, false otherwise
-
isRemoteAgentsSupported
boolean isRemoteAgentsSupported()Whether remote agents are enabled- Returns:
- true if remote agents are supported, false otherwise
-
isRemoteAgentsManagementEnabled
boolean isRemoteAgentsManagementEnabled()Whether remote agents can be managed by admin -
isElasticAgentsSupported
boolean isElasticAgentsSupported()Whether elastic agents are enabled- Returns:
- true if elastic agents are supported, false otherwise
-
isRequiredEc2Configuration
Deprecated.since 8.0 returns false alwaysWhether EC2 configuration is required for plan creation -
getBuildArtifactSizeLimit
Maximum size of artifacts for single build result in bytes- Returns:
- maximum artifact size in bytes when limit set, Optional.empty()) if not
-
isRotpEnabled
boolean isRotpEnabled()Whether to show rotp features or not. -
isRotpProjectShortcutsEnabled
boolean isRotpProjectShortcutsEnabled()Whether to show rotp project shortcuts feature or not. -
isRotpAdminShortcutsEnabled
boolean isRotpAdminShortcutsEnabled()Whether to use rotp admin shortcuts or not. -
isPdlEnabled
boolean isPdlEnabled()Whether to use the new pdl or not -
isRemovingLabelsAndCommentsAllowedForNonPlanAdmin
boolean isRemovingLabelsAndCommentsAllowedForNonPlanAdmin()Returns true if EDIT permission on plan is not required for removing plans and labels- Returns:
-
getUnconfigurableFeatureDefaults
UnconfigurableFeatureDefaults getUnconfigurableFeatureDefaults() -
isFusionDeploymentsSupportEnabled
boolean isFusionDeploymentsSupportEnabled()- Returns:
- Whether Bamboo should provide environment related data to Fusion app (BDEV-4007)
-
isUpdatingStashWithBuildStatusEnabled
boolean isUpdatingStashWithBuildStatusEnabled()Whether updating Stash with build status after builds are completed is enabled.- Returns:
true
if updating stash (Bitbucket Server) with build statuses is enabled
-
isUpdatingStashWithDeploymentsEnabled
boolean isUpdatingStashWithDeploymentsEnabled()Whether updating Stash (Bitbucket Server) with deployments from deployment projects is enabled- Returns:
true
if deployments should be posted to Stash (Bitbucket Server)
-
isUpdatingStashWithExtendedBuildStatusEnabled
boolean isUpdatingStashWithExtendedBuildStatusEnabled()Whether updating Stash with extended build statuses is disabled- Returns:
false
if build statuses should be posted to the legacy endpoint. Otherwisetrue
-
isWebSudoEnabled
boolean isWebSudoEnabled()Whether web sudo checks are enabled when accessing admin pages- Returns:
true
if web sudo checks should be applied. Otherwisefalse
-
isPublicIpRequiredForVpc
boolean isPublicIpRequiredForVpc()Whether the current Bamboo setup prevents people from using VPCs unless their instances have a public IP. -
isRemoteAgentShellEnabled
boolean isRemoteAgentShellEnabled() -
isGravatarConfigurable
boolean isGravatarConfigurable() -
isArtifactStorageSpaceLimited
boolean isArtifactStorageSpaceLimited()Whether server-side artifact storage space is limited according toAdministrationConfiguration.getStorageLimit()
. -
isSoxComplianceModeConfigurable
boolean isSoxComplianceModeConfigurable()Whether SOX compliance is configurable (if not then it is disabled) -
isRepositoryDashboardEnabled
boolean isRepositoryDashboardEnabled()Whether new repository UI is enabled. -
isArtifactHandlerUiEnabled
boolean isArtifactHandlerUiEnabled()Whether we let the user configure artifact handlers. -
isExportToJavaSpecsEnabled
Deprecated.since 7.1, always true- Returns:
- true when export to Bamboo Java Specs feature is enabled.
-
isRepositoryStoredSpecsEnabled
boolean isRepositoryStoredSpecsEnabled()- Returns:
- true when Repository Stored Specs (RSS) feature is enabled (do not mistake it with enabling RSS processing accessible from Administration / Security Settings)
-
isDockerPipelinesEnabled
boolean isDockerPipelinesEnabled()- Returns:
- true if docker pipelines feature is enabled.
-
isCrowdRecoveryModeEnabled
boolean isCrowdRecoveryModeEnabled()- Returns:
- true if Bamboo started in password recovery mode, -Datlassian.recovery.password=password
-
isRssPollingEnabled
boolean isRssPollingEnabled()- Returns:
- true if polling for rss changes is enabled
-
isCreateDeploymentGrantedByProjects
boolean isCreateDeploymentGrantedByProjects()- Returns:
- true if create permission on any project grants create deployment
-
isPerformanceDataGatheringEnabled
boolean isPerformanceDataGatheringEnabled()Returns true if Bamboo is measuring and gathering performance data. -
isArtifactsAsLogsEnabled
Deprecated.since 10.0 always trueTrue if live logs can be switched off (logs as artifacts enabled) or instance is Data Center. -
isDataCenter
default boolean isDataCenter()Since Bamboo 9.5, the DC license is the only valid license type. Other licence types are rejected during startup. -
isProjectLevelBuildResourcesEnabled
Deprecated.since 10.0 always trueTrue if project level build resources are enabled -
isAgentBuildResiliencyOn
default boolean isAgentBuildResiliencyOn()Is agent build resiliency on -
isSeamlessRestartsPersistenceEnabled
boolean isSeamlessRestartsPersistenceEnabled()True if seamless restarts' persistence is turned on. -
isSeamlessRestartEnabled
boolean isSeamlessRestartEnabled()True if seamless restarts are currently enabled. -
isViewConfigurationPermissionEnabled
Deprecated.since 10.0 always onTrue if view configuration is enabled.- Since:
- 8.0
-
isAlwaysCreatePlanSpecsResult
boolean isAlwaysCreatePlanSpecsResult()True if RSS should always create specs result, even if plan is not changed by a commit. -
isHotSwapImportEnabled
boolean isHotSwapImportEnabled()True if the hot swap import is available on the Bamboo instance.- Since:
- 9.6
-