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.fage.Option<java.lang.Long> getBuildArtifactSizeLimit()
          Maximum size of artifacts for single build result in bytes
 boolean isArtifactHandlerUiEnabled()
          Whether we let the user configure artifact handlers.
 boolean isBulkProjectRemoveAllowed()
          Whether project remove is allowed for bulk operations
 boolean isChangeBaseUrlAllowed()
           
 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 isInstanceRenameSupported()
          Whether we give the option to the user o change their instance.
 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 isOAuthConsumerPluginEnabled()
          Whether the update screens for OAUth is enabled
 boolean isOnDemandInstance()
          Whether or not we're on OnDemand.
 boolean isPasswordChangeAllowed()
          Whether users are allowed to change passwords
 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 isSignupConfigurable()
          Whether you can turn on signups
 boolean isTransportSupported(TransportProtocol transportProtocol)
          Whether given transport is enabled.
 boolean isUpmFullyFunctional()
          WHether UPM is fully functional - allows install plugins
 boolean isUserManagementEnabled()
          Whether you can edit the users and groups
 boolean isUserProfileEnabled()
          Whather 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 turn on 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()
Whather 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:

isOAuthConsumerPluginEnabled

boolean isOAuthConsumerPluginEnabled()
Whether the update screens for OAUth is enabled

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.fage.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

isInstanceRenameSupported

boolean isInstanceRenameSupported()
Whether we give the option to the user o change their instance.

Returns:

isChangeBaseUrlAllowed

boolean isChangeBaseUrlAllowed()

isUpmFullyFunctional

boolean isUpmFullyFunctional()
WHether UPM is fully functional - allows install plugins

Returns:

isArtifactHandlerUiEnabled

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



Copyright © 2012 Atlassian. All Rights Reserved.