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
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 bytesUnconfigurableFeatureDefaults
getUnconfigurableFeatureDefaults()
default boolean
isAgentBuildResiliencyOn()
Is agent build resiliency onboolean
isAlwaysCreatePlanSpecsResult()
True if RSS should always create specs result, even if plan is not changed by a commit.boolean
isArtifactHandlerUiEnabled()
Whether we let the user configure artifact handlers.boolean
isArtifactsAsLogsEnabled()
True if live logs can be switched off (logs as artifacts enabled) or instance is Data Center.boolean
isArtifactStorageSpaceLimited()
Whether server-side artifact storage space is limited according toAdministrationConfiguration.getStorageLimit()
.boolean
isCreateDeploymentGrantedByProjects()
boolean
isCrowdRecoveryModeEnabled()
boolean
isDataCenter()
boolean
isDockerPipelinesEnabled()
boolean
isElasticAgentsSupported()
Whether elastic agents are enableddefault boolean
isExportToJavaSpecsEnabled()
Deprecated.since 7.1, always trueboolean
isFusionDeploymentsSupportEnabled()
boolean
isGravatarConfigurable()
boolean
isHotSwapImportEnabled()
True if the hot swap import is available on the Bamboo instance.boolean
isLocalAgentsSupported()
Whether local agents are enabledboolean
isPdlEnabled()
Whether to use the new pdl or notboolean
isPerformanceDataGatheringEnabled()
Returns true if Bamboo is measuring and gathering performance data.boolean
isProjectLevelBuildResourcesEnabled()
True if project level build resources are enabledboolean
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 adminboolean
isRemoteAgentsSupported()
Whether remote agents are enabledboolean
isRemovingLabelsAndCommentsAllowedForNonPlanAdmin()
Returns true if EDIT permission on plan is not required for removing plans and labelsboolean
isRepositoryDashboardEnabled()
Whether new repository UI is enabled.boolean
isRepositoryStoredSpecsEnabled()
boolean
isRequiredEc2Configuration()
Deprecated.since 8.0 returns false alwaysboolean
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
isRssPollingEnabled()
boolean
isSeamlessRestartEnabled()
True if seamless restarts are currently enabled.boolean
isSeamlessRestartsPersistenceEnabled()
True if seamless restarts' persistence is turned on.boolean
isSoxComplianceModeConfigurable()
Whether SOX compliance is configurable (if not then it is disabled)boolean
isUpdatingStashWithBuildStatusEnabled()
Whether updating Stash with build status after builds are completed is enabled.boolean
isUpdatingStashWithDeploymentsEnabled()
Whether updating Stash (Bitbucket Server) with deployments from deployment projects is enabledboolean
isUpdatingStashWithExtendedBuildStatusEnabled()
Whether updating Stash with extended build statuses is disabledboolean
isViewConfigurationPermissionEnabled()
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:
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
-
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
-
-