public enum PullRequestMergeConfigType extends Enum<PullRequestMergeConfigType>
Configuration
for pull request merge strategies can be applied at different
levels, which are described here.Enum Constant and Description |
---|
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.
|
REPOSITORY
Merge strategies have been configured for the repository.
|
SCM
Merge strategies have been configured globally for all repositories using this SCM.
|
Modifier and Type | Method and Description |
---|---|
static PullRequestMergeConfigType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PullRequestMergeConfigType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PullRequestMergeConfigType DEFAULT
public static final PullRequestMergeConfigType PROJECT
SCM
level
configuration, but can be overridden by repository
level configuration.public static final PullRequestMergeConfigType REPOSITORY
public static final PullRequestMergeConfigType SCM
project
or repository
level.public static PullRequestMergeConfigType[] values()
for (PullRequestMergeConfigType c : PullRequestMergeConfigType.values()) System.out.println(c);
public static PullRequestMergeConfigType 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 nullCopyright © 2021 Atlassian. All rights reserved.