com.atlassian.bamboo
Interface FeatureManager

All Known Implementing Classes:
DefaultFeatureManager

@ExperimentalApi
@Immutable
public interface FeatureManager

An interface that controls what features are turned on and off.


Method Summary
 com.atlassian.fugue.Option<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 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 isFusionDeploymentsSupportEnabled()
           
 boolean isGlobalSecuritySettingsEnabled()
          Whether you can edit the global security settings
 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 isRemoteAgentsSupported()
          Whether remote agents are enabled
 boolean isRemovingLabelsAndCommentsAllowedForNonPlanAdmin()
          Returns true if EDIT permission on plan is not required for removing plans and labels
 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 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 isTransportSupported(TransportProtocol transportProtocol)
          Whether given transport is enabled.
 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
 

Method Detail

isOnDemandInstance

boolean isOnDemandInstance()
Whether or not we're on Cloud. Used to disable certain actions


isTransportSupported

boolean isTransportSupported(@NotNull
                             TransportProtocol transportProtocol)
Whether given transport is enabled.


isLocalAgentsSupported

boolean isLocalAgentsSupported()
Whether local agents are enabled

Returns:

isRemoteAgentsSupported

boolean isRemoteAgentsSupported()
Whether remote agents are enabled

Returns:

isElasticAgentsSupported

boolean isElasticAgentsSupported()
Whether elastic agents are enabled

Returns:

isGzipCompressionSupported

boolean isGzipCompressionSupported()
Whether you can turn on GZip compression or not

Returns:

isMavenProjectImportSupported

boolean isMavenProjectImportSupported()
Whether you can import from a Maven pom.xml

Returns:

isSignupConfigurable

boolean isSignupConfigurable()
Whether you can configure signups

Returns:

isRestrictedAdminConfigurable

boolean isRestrictedAdminConfigurable()
Whether restricted admin permission can be turn on or off

Returns:

isPasswordChangeAllowed

boolean isPasswordChangeAllowed()
Whether users are allowed to change passwords

Returns:

isLegacyRepositoryEnabled

boolean isLegacyRepositoryEnabled()
Whether to turn on old repositories like CVS and Perforce

Returns:

isMailServerConfigurationSupported

boolean isMailServerConfigurationSupported()
Whether mail servers are configurable

Returns:

isIMServerConfigurationSupported

boolean isIMServerConfigurationSupported()
Whether IM servers are configurable

Returns:

isUserProfileEnabled

boolean isUserProfileEnabled()
Whether users can view their user profile page

Returns:

isGlobalSecuritySettingsEnabled

boolean isGlobalSecuritySettingsEnabled()
Whether you can edit the global security settings

Returns:

isUserManagementEnabled

boolean isUserManagementEnabled()
Whether you can edit the users and groups

Returns:

isDetectCapabilitiesOnStartup

boolean isDetectCapabilitiesOnStartup()
Whether to force detection of server capabilities on startup

Returns:

isRequiresEc2TermsAcceptance

boolean isRequiresEc2TermsAcceptance()
Whether EC2 configuration is blocked until users accept terms and conditions

Returns:

isRequiredEc2Configuration

boolean isRequiredEc2Configuration()
Whether EC2 configuration is required for plan creation

Returns:

isBulkProjectRemoveAllowed

boolean isBulkProjectRemoveAllowed()
Whether project remove is allowed for bulk operations

Returns:

getBuildArtifactSizeLimit

com.atlassian.fugue.Option<Long> getBuildArtifactSizeLimit()
Maximum size of artifacts for single build result in bytes

Returns:
maximum artifact size in bytes when limit set, Option.none() if not

isChangeBaseUrlAllowed

boolean isChangeBaseUrlAllowed()
Whether administrators are allowed to change the instance's base URL.

Returns:
true; if administrators are allowed to change the instance's base URL; otherwise, false.

isUpmFullyFunctional

boolean isUpmFullyFunctional()
Whether the UPM is fully functional - allows plugin installation.

Returns:
true; if the UPM is fully functional - allows plugin installation; otherwise, false.

isArtifactHandlerUiEnabled

boolean isArtifactHandlerUiEnabled()
Whether we let the user configure artifact handlers.


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


isTriggersOnEnvironmentPagesEnabled

boolean isTriggersOnEnvironmentPagesEnabled()
Whether to show trigger part of Environment create and update pages


isSupportToolsPluginEnabled

boolean isSupportToolsPluginEnabled()
Whether or not to make the "Atlassian Support Tools" functionality available to admin users.

Returns:

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 plugin (BDEV-4007)

isStashRepositoryPluginEnabled

boolean isStashRepositoryPluginEnabled()
Whether or not enable stash repository plugin enabled (ssh use)

Returns:

isUpdatingStashWithBuildStatusEnabled

boolean isUpdatingStashWithBuildStatusEnabled()
Whether updating Stash with build status after builds are completed is enabled.

Returns:

isPublicIpRequiredForVpc

boolean isPublicIpRequiredForVpc()
Whether the current Bamboo setup prevents people from using VPCs unless their instances have a public IP.


isCreateBranchesForPullRequestsEnabled

boolean isCreateBranchesForPullRequestsEnabled()
Whether automatic creation of plan branches for Stash pull requests is enabled.


isRemoteAgentShellEnabled

boolean isRemoteAgentShellEnabled()

isOnDemandAnalyticsBehaviour

boolean isOnDemandAnalyticsBehaviour()
Used by the analytics plugin to determine if Cloud specific analytics behaviour should be used (e.g. no opt-in message, reduced anonymisation)

Returns:
true if running Cloud

isLimitedTimeQuarantineEnabled

boolean isLimitedTimeQuarantineEnabled()
Whether the limited time quarantine feature is enabled.



Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.