public enum StandardFeature extends Enum<StandardFeature> implements Feature
features
provided by the applicationEnum Constant and Description |
---|
ATTACHMENTS
Controls whether users can upload attachments in pull request comments.
|
AUTH_CAPTCHA
Controls whether users will be required to solve a CAPTCHA after a configured number of failed attempts
to login.
|
BIDI_CHARACTER_HIGHLIGHTING
Controls whether Unicode bidirectional characters are highlighted in code contexts (source view, pull requests,
code blocks in comments, etc.).
|
COMMIT_GRAPH
Controls whether the commit graph is displayed on the commits page of a repository.
|
DATA_CENTER_MIGRATION_EXPORT
Controls whether Data Center Migration archives can be generated on this instance.
|
DATA_CENTER_MIGRATION_IMPORT
Controls whether Data Center Migration archives can be imported into the instance.
|
DEPLOYMENTS
Controls whether admins have access to the Deployments view in the UI or the deployments endpoint
in REST.
|
DIAGNOSTICS
Controls whether diagnostics is enabled
|
FILE_EDITOR
Controls whether users can edit repository files in the browser and via REST.
|
FORKS
Controls whether repositories are allowed to be forked.
|
GETTING_STARTED
Controls whether new users will be presented with a "Getting Started" page after their first login.
|
JIRA_CLOUD_DEV_INFO
Controls whether the system can send development information to Jira Cloud.
|
JIRA_COMMIT_CHECKER
Controls whether the Jira commit checker feature is enabled.
|
PERSONAL_REPOS
Controls whether users can create repositories in their personal projects.
|
PROJECT_REPO_ACCESS_TOKENS
Controls whether HTTP access tokens at project and repository level are enabled.
|
PUBLIC_ACCESS
Controls whether
projects and repositories can be
configured to allow public access. |
PULL_REQUEST_AUTO_DECLINE
Controls whether the process of automatically declining inactive pull requests is enabled for the system.
|
PULL_REQUEST_DELETION
Controls whether pull requests can be deleted.
|
PULL_REQUEST_SUGGESTIONS
Controls whether pull request suggestions are enabled.
|
PULL_REQUEST_TEMPLATES
Controls whether or not the pull request templates feature is enabled.
|
RATE_LIMITING
Controls whether HTTP requests will be rate limited per user.
|
REPOSITORY_DELETE_POLICY
Controls whether a user can delete a repository by checking their permission level against the repository
delete policy.
|
REPOSITORY_MANAGEMENT
Controls whether admins have access to the Repositories view in the UI or the repository-management endpoint
in REST.
|
REQUIRED_BUILDS
Controls whether admins have access to the Required Builds view in the UI or the required-builds endpoint
in REST.
|
REVIEWER_GROUPS
Controls whether a user can manage reviewer groups.
|
ROLLING_UPGRADE
Controls whether rolling upgrade can be performed for bugfix versions.
|
SMART_MIRRORS
Controls whether smart mirrors can be configured.
|
TIME_ZONE_ONBOARDING
Controls whether users will be prompted to update their timezone after their first login.
|
Modifier and Type | Method and Description |
---|---|
static StandardFeature |
fromKey(String value) |
String |
getKey() |
boolean |
isDataCenter() |
static StandardFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardFeature ATTACHMENTS
public static final StandardFeature AUTH_CAPTCHA
public static final StandardFeature BIDI_CHARACTER_HIGHLIGHTING
<U+2066>
) so they
can be easily seen by reviewers.public static final StandardFeature COMMIT_GRAPH
public static final StandardFeature DIAGNOSTICS
public static final StandardFeature DEPLOYMENTS
data center-only
feature.public static final StandardFeature FILE_EDITOR
ContentService.editFile(com.atlassian.bitbucket.content.EditFileRequest)
public static final StandardFeature FORKS
public static final StandardFeature GETTING_STARTED
public static final StandardFeature DATA_CENTER_MIGRATION_EXPORT
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
This is a data center-only
feature.
public static final StandardFeature JIRA_CLOUD_DEV_INFO
This is a data center-only
feature.
public static final StandardFeature JIRA_COMMIT_CHECKER
This is a data center-only
feature.
public static final StandardFeature PERSONAL_REPOS
FORKS
feature should
be disabled instead of, or in addition to, this one.PersonalRepositoryDisabledException
public static final StandardFeature PROJECT_REPO_ACCESS_TOKENS
This is a data center-only
feature.
public static final StandardFeature PUBLIC_ACCESS
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_AUTO_DECLINE
When this feature is enabled, all pull requests that are inactive (no recent comments, pushes etc.) are declined. Individual projects or repositories are still able to opt-out or configure a different inactivity period. When this feature is disabled, it overrides any configuration applied to individual projects or repositories, and prevents any pull request from being automatically declining due to inactivity.
public static final StandardFeature PULL_REQUEST_DELETION
public static final StandardFeature PULL_REQUEST_SUGGESTIONS
public static final StandardFeature PULL_REQUEST_TEMPLATES
public static final StandardFeature RATE_LIMITING
public static final StandardFeature REPOSITORY_DELETE_POLICY
public static final StandardFeature REPOSITORY_MANAGEMENT
data center-only
feature.public static final StandardFeature REQUIRED_BUILDS
data center-only
feature.public static final StandardFeature REVIEWER_GROUPS
data center-only
feature.public static final StandardFeature ROLLING_UPGRADE
data center-only
feature.public static final StandardFeature SMART_MIRRORS
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
public static StandardFeature[] values()
for (StandardFeature c : StandardFeature.values()) System.out.println(c);
public static StandardFeature valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Nonnull public static StandardFeature fromKey(String value)
public boolean isDataCenter()
isDataCenter
in interface Feature
true
if the feature requires a Data Center license, otherwise false
Copyright © 2022 Atlassian. All rights reserved.