public enum CommitListMergeFilter extends Enum<CommitListMergeFilter>
Enum Constant and Description |
---|
EXCLUDE
Exclude merge commits.
|
INCLUDE
Include merge commits.
|
ONLY
Include only merge commits.
|
Modifier and Type | Method and Description |
---|---|
static CommitListMergeFilter |
fromString(String stringValue,
CommitListMergeFilter defaultValue)
Coerces a string to a
CommitListMergeFilter or returns the supplied default value if this is not possible. |
static CommitListMergeFilter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommitListMergeFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitListMergeFilter EXCLUDE
public static final CommitListMergeFilter INCLUDE
public static final CommitListMergeFilter ONLY
public static CommitListMergeFilter[] values()
for (CommitListMergeFilter c : CommitListMergeFilter.values()) System.out.println(c);
public static CommitListMergeFilter 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 static CommitListMergeFilter fromString(@Nonnull String stringValue, @Nullable CommitListMergeFilter defaultValue)
CommitListMergeFilter
or returns the supplied default value if this is not possible.stringValue
- the string value of the commit list merge filterdefaultValue
- the default value to return if coercion is not possibleCommitListMergeFilter
instanceCopyright © 2019 Atlassian. All rights reserved.