@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 |
isArtifactsAsLogsEnabled()
True if live logs can be switched off (logs as artifacts enabled)
|
boolean |
isArtifactStorageSpaceLimited()
Whether server-side artifact storage space is limited according to
AdministrationConfiguration.getStorageLimit() . |
boolean |
isCreateDeploymentGrantedByProjects() |
boolean |
isCrowdRecoveryModeEnabled() |
boolean |
isDockerPipelinesEnabled() |
boolean |
isElasticAgentsSupported()
Whether elastic agents are enabled
|
boolean |
isFusionDeploymentsSupportEnabled() |
boolean |
isGravatarConfigurable() |
boolean |
isLimitedTimeQuarantineEnabled()
Whether the limited time quarantine feature is enabled.
|
boolean |
isLocalAgentsSupported()
Whether local agents are enabled
|
boolean |
isPdlEnabled()
Whether to use the new pdl or not
|
boolean |
isPerformanceDataGatheringEnabled()
Returns true if Bamboo is measuring and gathering performance data.
|
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 |
isRepositoryStoredSpecsEnabled() |
boolean |
isRequiredEc2Configuration()
Whether EC2 configuration is required for plan creation
|
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 |
isRssPollingEnabled() |
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 |
isUpdatingStashWithExtendedBuildStatusEnabled()
Whether updating Stash with extended build statuses is disabled
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isExportToJavaSpecsEnabled
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 isRequiredEc2Configuration()
FeatureManager
isRequiredEc2Configuration
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 isFusionDeploymentsSupportEnabled()
isFusionDeploymentsSupportEnabled
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 isUpdatingStashWithExtendedBuildStatusEnabled()
FeatureManager
isUpdatingStashWithExtendedBuildStatusEnabled
in interface FeatureManager
true
if build statuses should be posted to the legacy endpoint. Otherwise false
public boolean isPublicIpRequiredForVpc()
FeatureManager
isPublicIpRequiredForVpc
in interface FeatureManager
public boolean isRemoteAgentShellEnabled()
isRemoteAgentShellEnabled
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 isRepositoryDashboardEnabled()
FeatureManager
isRepositoryDashboardEnabled
in interface FeatureManager
public boolean isArtifactHandlerUiEnabled()
FeatureManager
isArtifactHandlerUiEnabled
in interface FeatureManager
public boolean isRepositoryStoredSpecsEnabled()
isRepositoryStoredSpecsEnabled
in interface FeatureManager
public boolean isDockerPipelinesEnabled()
isDockerPipelinesEnabled
in interface FeatureManager
public boolean isCrowdRecoveryModeEnabled()
isCrowdRecoveryModeEnabled
in interface FeatureManager
public boolean isRssPollingEnabled()
isRssPollingEnabled
in interface FeatureManager
public boolean isCreateDeploymentGrantedByProjects()
isCreateDeploymentGrantedByProjects
in interface FeatureManager
public boolean isPerformanceDataGatheringEnabled()
FeatureManager
isPerformanceDataGatheringEnabled
in interface FeatureManager
public boolean isArtifactsAsLogsEnabled()
FeatureManager
isArtifactsAsLogsEnabled
in interface FeatureManager
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.