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
 com.atlassian.fugue.Option<java.lang.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 isDetectCapabilitiesOnStartup()
          Whether to force detection of server capabilities on startup
 boolean isElasticAgentsSupported()
          Whether elasic agents are enabled
 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 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 isNewAppSwitcherEnabled()
          Whether to use the new appswitcher or not
 boolean isOnDemandInstance()
          Whether or not we're on OnDemand.
 boolean isPasswordChangeAllowed()
          Whether users are allowed to change passwords
 boolean isPdlEnabled()
          Whether to use the new pdl or not
 boolean isRemoteAgentsSupported()
          Whether remote agents are enabled
 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 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 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 OnDemand. 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 elasic 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<java.lang.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


isNewAppSwitcherEnabled

boolean isNewAppSwitcherEnabled()
Whether to use the new appswitcher or not


isSupportToolsPluginEnabled

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

Returns:

getUnconfigurableFeatureDefaults

UnconfigurableFeatureDefaults getUnconfigurableFeatureDefaults()


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.