Package com.atlassian.bitbucket.pull
Enum Class PullRequestMergeConfigType
- All Implemented Interfaces:
Serializable,Comparable<PullRequestMergeConfigType>,Constable
Configuration for pull request merge strategies can be applied at different
levels, which are described here.- Since:
- 4.9
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMerge strategies have not been explicitly configured at any level, so the SCM's defaults are being used.Merge strategies have been configured for the project.Merge strategies have been configured for the repository.Merge strategies have been configured globally for all repositories using this SCM. -
Method Summary
Modifier and TypeMethodDescriptionstatic PullRequestMergeConfigTypeReturns the enum constant of this class with the specified name.static PullRequestMergeConfigType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Merge strategies have not been explicitly configured at any level, so the SCM's defaults are being used. -
PROJECT
Merge strategies have been configured for the project. This is more specific thanSCMlevel configuration, but can be overridden byrepositorylevel configuration. -
REPOSITORY
-
SCM
Merge strategies have been configured globally for all repositories using this SCM. This is the least specific level of configuration, and can be overridden by configuration at theprojectorrepositorylevel.
-
-
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
-