Package com.atlassian.bamboo
Interface FeatureManager
-
- All Known Implementing Classes:
DefaultFeatureManager
@Immutable public interface FeatureManagerAn interface that controls what features are turned on and off.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description Optional<Long>getBuildArtifactSizeLimit()Maximum size of artifacts for single build result in bytesUnconfigurableFeatureDefaultsgetUnconfigurableFeatureDefaults()default booleanisAgentBuildResiliencyOn()Is agent build resiliency onbooleanisAlwaysCreatePlanSpecsResult()True if RSS should always create specs result, even if plan is not changed by a commit.booleanisArtifactHandlerUiEnabled()Whether we let the user configure artifact handlers.booleanisArtifactsAsLogsEnabled()True if live logs can be switched off (logs as artifacts enabled) or instance is Data Center.booleanisArtifactStorageSpaceLimited()Whether server-side artifact storage space is limited according toAdministrationConfiguration.getStorageLimit().booleanisCreateDeploymentGrantedByProjects()booleanisCrowdRecoveryModeEnabled()booleanisDataCenter()booleanisDockerPipelinesEnabled()booleanisElasticAgentsSupported()Whether elastic agents are enableddefault booleanisExportToJavaSpecsEnabled()Deprecated.since 7.1, always truebooleanisFusionDeploymentsSupportEnabled()booleanisGravatarConfigurable()booleanisHotSwapImportEnabled()True if the hot swap import is available on the Bamboo instance.booleanisLocalAgentsSupported()Whether local agents are enabledbooleanisPdlEnabled()Whether to use the new pdl or notbooleanisPerformanceDataGatheringEnabled()Returns true if Bamboo is measuring and gathering performance data.booleanisProjectLevelBuildResourcesEnabled()True if project level build resources are enabledbooleanisPublicIpRequiredForVpc()Whether the current Bamboo setup prevents people from using VPCs unless their instances have a public IP.booleanisRemoteAgentShellEnabled()booleanisRemoteAgentsManagementEnabled()Whether remote agents can be managed by adminbooleanisRemoteAgentsSupported()Whether remote agents are enabledbooleanisRemovingLabelsAndCommentsAllowedForNonPlanAdmin()Returns true if EDIT permission on plan is not required for removing plans and labelsbooleanisRepositoryDashboardEnabled()Whether new repository UI is enabled.booleanisRepositoryStoredSpecsEnabled()booleanisRequiredEc2Configuration()Deprecated.since 8.0 returns false alwaysbooleanisRotpAdminShortcutsEnabled()Whether to use rotp admin shortcuts or not.booleanisRotpEnabled()Whether to show rotp features or not.booleanisRotpProjectShortcutsEnabled()Whether to show rotp project shortcuts feature or not.booleanisRssPollingEnabled()booleanisSeamlessRestartEnabled()True if seamless restarts are currently enabled.booleanisSeamlessRestartsPersistenceEnabled()True if seamless restarts' persistence is turned on.booleanisSoxComplianceModeConfigurable()Whether SOX compliance is configurable (if not then it is disabled)booleanisUpdatingStashWithBuildStatusEnabled()Whether updating Stash with build status after builds are completed is enabled.booleanisUpdatingStashWithDeploymentsEnabled()Whether updating Stash (Bitbucket Server) with deployments from deployment projects is enabledbooleanisUpdatingStashWithExtendedBuildStatusEnabled()Whether updating Stash with extended build statuses is disabledbooleanisViewConfigurationPermissionEnabled()True if view configuration is enabled.
-
-
-
Method Detail
-
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 boolean isRequiredEc2Configuration()
Deprecated.since 8.0 returns false alwaysWhether EC2 configuration is required for plan creation
-
getBuildArtifactSizeLimit
Optional<Long> 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:
trueif 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:
trueif deployments should be posted to Stash (Bitbucket Server)
-
isUpdatingStashWithExtendedBuildStatusEnabled
boolean isUpdatingStashWithExtendedBuildStatusEnabled()
Whether updating Stash with extended build statuses is disabled- Returns:
falseif build statuses should be posted to the legacy endpoint. Otherwisetrue
-
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 default boolean 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
boolean isArtifactsAsLogsEnabled()
True if live logs can be switched off (logs as artifacts enabled) or instance is Data Center.
-
isDataCenter
boolean isDataCenter()
-
isProjectLevelBuildResourcesEnabled
boolean isProjectLevelBuildResourcesEnabled()
True 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
boolean isViewConfigurationPermissionEnabled()
True 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
-
-