Enum Class StandardFeature
- All Implemented Interfaces:
Feature
,Serializable
,Comparable<StandardFeature>
,Constable
features
provided by the application- Since:
- 4.2
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionControls whether users can upload attachments in pull request comments.Controls whether users will be required to solve a CAPTCHA after a configured number of failed attempts to login.Controls whether Unicode bidirectional characters are highlighted in code contexts (source view, pull requests, code blocks in comments, etc.).Controls whether code owners will be added as suggested reviewers when creating pull requests.Controls whether the commit graph is displayed on the commits page of a repository.Controls whether the commit verification signature information is indexed and displayed on the commits page and when a commit hash is selected.Controls whether Data Center Migration archives can be generated on this instance.Controls whether Data Center Migration archives can be imported into the instance.Controls whether admins have access to the Deployments view in the UI or the deployments endpoint in REST.Controls whether diagnostics is enabled.Controls whether users need to provide their password when updating their own email.Controls enforce project settings selector on project admin settings.Controls whether users can edit repository files in the browser and via REST.Controls whether repositories are allowed to be forked.Controls whether new users will be presented with a "Getting Started" page after their first login.Controls whether the hook scripts feature is enabled.Controls whether the system can send development information to Jira Cloud.Controls whether the Jira commit checker feature is enabled.Controls whether users can create repositories in their personal projects.Controls whether HTTP access tokens at project and repository level are enabled.Controls whetherprojects
andrepositories
can be configured to allow public access.Controls whether the process of automatically declining inactive pull requests is enabled for the system.Controls whether users will have the option to auto-merge pull requests.Controls whether pull requests can be deleted.Controls whether users can mark pull requests as draftControls whether pull request suggestions are enabled.Controls whether or not the pull request templates feature is enabled.Controls whether HTTP requests will be rate limited per user.Controls whether the repository archiving feature is enabled.Controls whether a user can delete a repository by checking their permission level against the repository delete policy.Controls whether admins have access to the Repositories view in the UI or the repository-management endpoint in REST.Controls whether admins have access to the Required Builds view in the UI or the required-builds endpoint in REST.Controls whether a user can manage reviewer groups.Controls whether rolling upgrade can be performed for bugfix versions.Controls whether secret scanning is enabled or not.Controls whether smart mirrors can be configured.Controls whether SSH keys can be used to sign objects.Controls whether the suggest reviewers feature is enabled or not.Controls whether system created Git objects (such as pull request merge commits) are signed.Controls whether users will be prompted to update their timezone after their first login.Controls whether web sudo is enabled.Controls whether the what's new feature is enabled or not.Controls whether signed commits and tags are verified with X.509 certificates and whether trusted X.509 certificates can be managed by the system. -
Method Summary
Modifier and TypeMethodDescriptionstatic StandardFeature
getKey()
static StandardFeature
Returns the enum constant of this class with the specified name.static StandardFeature[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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.
-
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.
-
BIDI_CHARACTER_HIGHLIGHTING
Controls whether Unicode bidirectional characters are highlighted in code contexts (source view, pull requests, code blocks in comments, etc.).If enabled, these characters will be expanded (e.g.
<U+2066>
) so they can be easily seen by reviewers. -
CODE_OWNERS
Controls whether code owners will be added as suggested reviewers when creating pull requests.- Since:
- 8.14
-
COMMIT_GRAPH
Controls whether the commit graph is displayed on the commits page of a repository.- Since:
- 6.1
-
COMMIT_SHOW_SIGNATURES
Controls whether the commit verification signature information is indexed and displayed on the commits page and when a commit hash is selected.- Since:
- 8.11
-
DIAGNOSTICS
Controls whether diagnostics is enabled. -
DEPLOYMENTS
Controls whether admins have access to the Deployments view in the UI or the deployments endpoint in REST.- Since:
- 7.16
-
ENFORCE_PASSWORD_USER_EMAIL_UPDATE
Controls whether users need to provide their password when updating their own email. This does not affect email updates done for a user by an admin user.- Since:
- 9.4
-
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.
- Since:
- 4.13
- See Also:
-
FORKS
Controls whether repositories are allowed to be forked.When this feature is disabled, it overrides any configuration applied to individual repositories.
-
GETTING_STARTED
Controls whether new users will be presented with a "Getting Started" page after their first login. -
DATA_CENTER_MIGRATION_EXPORT
Controls whether Data Center Migration archives can be generated on this instance.- Since:
- 5.13
-
DATA_CENTER_MIGRATION_IMPORT
Controls whether Data Center Migration archives can be imported into the instance.- Since:
- 5.13
-
ENFORCE_PROJECT_SETTINGS
Controls enforce project settings selector on project admin settings.- Since:
- 8.8
-
HOOK_SCRIPTS
Controls whether the hook scripts feature is enabled.- Since:
- 8.18
-
JIRA_CLOUD_DEV_INFO
Controls whether the system can send development information to Jira Cloud.- Since:
- 7.14
-
JIRA_COMMIT_CHECKER
Controls whether the Jira commit checker feature is enabled.- Since:
- 7.16
-
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.- See Also:
-
PROJECT_REPO_ACCESS_TOKENS
Controls whether HTTP access tokens at project and repository level are enabled.- Since:
- 7.18
-
PUBLIC_ACCESS
Controls whetherprojects
andrepositories
can be configured to allow public access.When this feature is disabled, it overrides any configuration applied to individual projects or repositories.
-
PULL_REQUEST_AUTO_DECLINE
Controls whether the process of automatically declining inactive pull requests is enabled for the system.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.
- Since:
- 7.7
-
PULL_REQUEST_AUTO_MERGE
Controls whether users will have the option to auto-merge pull requests.Enabling this feature allows users to schedule a pull request, that cannot currently merge, to merge after the conditions blocking it are resolved. If this is disabled, users will be unable to create these requests, via the UI or REST API.
- Since:
- 8.15
-
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.
-
PULL_REQUEST_DRAFTS
Controls whether users can mark pull requests as draft- Since:
- 8.18
-
PULL_REQUEST_SUGGESTIONS
Controls whether pull request suggestions are enabled.Enabling this feature allows users with write access to the source repository the ability to apply code changes through the UI or the suggestion syntax. If this is disabled the user will not be able to apply code changes to the source repository through the UI or using the suggestion syntax; it will default to a standard comment if the suggestion syntax is used.
- Since:
- 6.6
-
PULL_REQUEST_TEMPLATES
Controls whether or not the pull request templates feature is enabled.Enabling this allows users to define a template for pull requests. If this is disabled, then users will be unable to define pull request templates at any scope, via the UI or REST API. In addition, plugins will no longer be able to interact with pull request templates.
- Since:
- 7.13
-
RATE_LIMITING
Controls whether HTTP requests will be rate limited per user.If this is enabled, repeated HTTP requests from the same user in a short time period may be rate limited. If this is disabled, no requests will be rate limited.
- Since:
- 6.5
-
REPOSITORY_ARCHIVING
Controls whether the repository archiving feature is enabled.Archived repositories can no longer be pushed to, and their settings can't be updated.
- Since:
- 8.0
-
REPOSITORY_DELETE_POLICY
Controls whether a user can delete a repository by checking their permission level against the repository delete policy.- Since:
- 7.4
-
REPOSITORY_MANAGEMENT
Controls whether admins have access to the Repositories view in the UI or the repository-management endpoint in REST.- Since:
- 7.12
-
REQUIRED_BUILDS
Controls whether admins have access to the Required Builds view in the UI or the required-builds endpoint in REST.- Since:
- 7.14
-
REVIEWER_GROUPS
Controls whether a user can manage reviewer groups.- Since:
- 7.13
-
ROLLING_UPGRADE
Controls whether rolling upgrade can be performed for bugfix versions.- Since:
- 7.9
-
SECRET_SCANNING
Controls whether secret scanning is enabled or not.- Since:
- 8.3
-
SYSTEM_SIGNED_GIT_OBJECTS
Controls whether system created Git objects (such as pull request merge commits) are signed.When this feature is enabled the application will sign and verify system created Git objects using an automatically generated signing key-pair.
- Since:
- 8.17
-
SMART_MIRRORS
Controls whether smart mirrors can be configured. -
SSH_KEYS_FOR_CODE_SIGNING
Controls whether SSH keys can be used to sign objects.- Since:
- 8.15
-
SUGGEST_REVIEWERS
Controls whether the suggest reviewers feature is enabled or not.- Since:
- 8.16
-
TIME_ZONE_ONBOARDING
Controls whether users will be prompted to update their timezone after their first login. -
WEB_SUDO
Controls whether web sudo is enabled. If disabled, all web sudo checks will pass.- Since:
- 9.0
-
WHATS_NEW
Controls whether the what's new feature is enabled or not.- Since:
- 8.19
-
X509_CERTIFICATE_SIGNING
Controls whether signed commits and tags are verified with X.509 certificates and whether trusted X.509 certificates can be managed by the system.- Since:
- 8.15
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromKey
-
getKey
-