public enum BranchCreationType extends Enum<BranchCreationType>
Enum Constant and Description |
---|
MANUAL |
NEW_MATCHING_VCS_BRANCH |
NEW_VCS_BRANCH |
PR |
Modifier and Type | Method and Description |
---|---|
static BranchCreationType |
byKey(String key)
Find
BranchCreationType by key. |
PlanBranchWorkflow |
getCompatiblePlanBranchWorkflow() |
String |
getKey() |
boolean |
isBranchAware() |
boolean |
isPullRequestAware() |
static BranchCreationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BranchCreationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BranchCreationType MANUAL
public static final BranchCreationType PR
public static final BranchCreationType NEW_VCS_BRANCH
public static final BranchCreationType NEW_MATCHING_VCS_BRANCH
public static BranchCreationType[] values()
for (BranchCreationType c : BranchCreationType.values()) System.out.println(c);
public static BranchCreationType 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 String getKey()
public boolean isBranchAware()
public boolean isPullRequestAware()
public PlanBranchWorkflow getCompatiblePlanBranchWorkflow()
public static BranchCreationType byKey(@Nullable String key)
BranchCreationType
by key. If not found returns MANUAL
.Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.