public static enum ExecuteMergePullRequestDetails.PostMergeAction extends Enum<ExecuteMergePullRequestDetails.PostMergeAction> implements BmcEnum
What needs to happen after the merge is done successfully.
Enum Constant and Description |
---|
DeleteSourceBranch |
KeepSourceBranch |
Modifier and Type | Method and Description |
---|---|
static ExecuteMergePullRequestDetails.PostMergeAction |
create(String key) |
String |
getValue() |
static ExecuteMergePullRequestDetails.PostMergeAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecuteMergePullRequestDetails.PostMergeAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecuteMergePullRequestDetails.PostMergeAction DeleteSourceBranch
public static final ExecuteMergePullRequestDetails.PostMergeAction KeepSourceBranch
public static ExecuteMergePullRequestDetails.PostMergeAction[] values()
for (ExecuteMergePullRequestDetails.PostMergeAction c : ExecuteMergePullRequestDetails.PostMergeAction.values()) System.out.println(c);
public static ExecuteMergePullRequestDetails.PostMergeAction 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 ExecuteMergePullRequestDetails.PostMergeAction create(String key)
Copyright © 2016–2024. All rights reserved.