public enum GitRevListMerges extends Enum<GitRevListMerges>
git rev-list
, controlling use of the --merges
,
--no-merges
and --no-min-parents
flags.Enum Constant and Description |
---|
DEFAULT
Apply
git rev-list 's default behaviour. |
EXCLUDE
Exclude merge commits.
|
INCLUDE
Include merge commits.
|
ONLY
Include only merge commits.
|
Modifier and Type | Method and Description |
---|---|
static GitRevListMerges |
fromFilter(com.atlassian.bitbucket.commit.CommitListMergeFilter value) |
String |
getFlag() |
boolean |
isFlagged() |
static GitRevListMerges |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitRevListMerges[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitRevListMerges DEFAULT
git rev-list
's default behaviour.public static final GitRevListMerges EXCLUDE
public static final GitRevListMerges INCLUDE
public static final GitRevListMerges ONLY
public static GitRevListMerges[] values()
for (GitRevListMerges c : GitRevListMerges.values()) System.out.println(c);
public static GitRevListMerges 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 nullpublic boolean isFlagged()
@Nonnull public static GitRevListMerges fromFilter(@Nonnull com.atlassian.bitbucket.commit.CommitListMergeFilter value)
value
- the CommitListMergeFilter
valueCommitListMergeFilter
IllegalArgumentException
- if an unsupported CommitListMergeFilter
is providedCopyright © 2019 Atlassian. All rights reserved.