public final enum

StandardFeature

extends Enum<E extends Enum<E>>
implements Feature
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.server.StandardFeature

Class Overview

Core features provided by the application

Summary

Enum Values
StandardFeature  ATTACHMENTS  Controls whether users can upload attachments in pull request comments. 
StandardFeature  AUTH_CAPTCHA  Controls whether users will be required to solve a CAPTCHA after a configured number of failed attempts to login. 
StandardFeature  DATA_CENTER_MIGRATION_EXPORT  Controls whether Data Center Migration archives can be generated on this instance. 
StandardFeature  DATA_CENTER_MIGRATION_IMPORT  Controls whether Data Center Migration archives can be imported into the instance. 
StandardFeature  DIAGNOSTICS  Controls whether diagnostics is enabled  
StandardFeature  FILE_EDITOR  Controls whether users can edit repository files in the browser and via REST. 
StandardFeature  FORKS  Controls whether repositories are allowed to be forked. 
StandardFeature  GETTING_STARTED  Controls whether new users will be presented with a "Getting Started" page after their first login. 
StandardFeature  PERSONAL_REPOS  Controls whether users can create repositories in their personal projects. 
StandardFeature  PUBLIC_ACCESS  Controls whether projects and repositories can be configured to allow public access. 
StandardFeature  PULL_REQUEST_DELETION  Controls whether pull requests can be deleted. 
StandardFeature  SMART_MIRRORS  Controls whether smart mirrors can be configured. 
StandardFeature  TIME_ZONE_ONBOARDING  Controls whether users will be prompted to update their timezone after their first login. 
Public Methods
@Nonnull static StandardFeature fromKey(String value)
@Nonnull String getKey()
boolean isDataCenter()
static StandardFeature valueOf(String name)
final static StandardFeature[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface com.atlassian.bitbucket.server.Feature
From interface java.lang.Comparable

Enum Values

public static final StandardFeature ATTACHMENTS

Controls whether users can upload attachments in pull request comments. Disabling this feature will not delete any attachments that have already been uploaded, but will prevent uploading more.

public static final StandardFeature AUTH_CAPTCHA

Controls whether users will be required to solve a CAPTCHA after a configured number of failed attempts to login. Disabling this feature can reduce the overall security of an instance and is not recommended, but may be necessary in some environments. If this feature is disabled, it is strongly advised that some other aspect of the authentication mechanism (such as a remote LDAP directory) impose a limit on failed attempts in order to prevent attackers from using brute force attacks to compromise accounts.

public static final StandardFeature DATA_CENTER_MIGRATION_EXPORT

Controls whether Data Center Migration archives can be generated on this instance.

This is not a data center-only feature, data can be exported from Server installations as well.

public static final StandardFeature DATA_CENTER_MIGRATION_IMPORT

Controls whether Data Center Migration archives can be imported into the instance.

This is a data center-only feature.

public static final StandardFeature DIAGNOSTICS

Controls whether diagnostics is enabled

public static final StandardFeature FILE_EDITOR

Controls whether users can edit repository files in the browser and via REST. Disabling this feature does not prevent plugins from using the Java API to edit files; it only disables editing via the UI and REST.

public static final StandardFeature FORKS

Controls whether repositories are allowed to be forked. When this feature is disabled, it overrides any configuration applied to individual repositories.

public static final StandardFeature GETTING_STARTED

Controls whether new users will be presented with a "Getting Started" page after their first login.

public static final StandardFeature PERSONAL_REPOS

Controls whether users can create repositories in their personal projects. Disabling this feature will prevent creating new repositories in, or forking existing repositories to, users' personal projects. To completely disable forking, regardless of the target project's type, the FORKS feature should be disabled instead of, or in addition to, this one.

public static final StandardFeature PUBLIC_ACCESS

Controls whether projects and repositories can be configured to allow public access. When this feature is disabled, it overrides any configuration applied to individual projects or repositories.

public static final StandardFeature PULL_REQUEST_DELETION

Controls whether pull requests can be deleted. When this feature is disabled, pull requests cannot be disabled via plugins using the Java API or using the UI or REST.

public static final StandardFeature SMART_MIRRORS

Controls whether smart mirrors can be configured. This is a data center-only feature. Enabling or disabling this feature has no effect if a data center license is not installed. Disabling this feature prevents the use of smart mirrors even if a data center license is installed.

public static final StandardFeature TIME_ZONE_ONBOARDING

Controls whether users will be prompted to update their timezone after their first login.

Public Methods

@Nonnull public static StandardFeature fromKey (String value)

@Nonnull public String getKey ()

public boolean isDataCenter ()

public static StandardFeature valueOf (String name)

public static final StandardFeature[] values ()