public static enum CreatePlanBranchSettings.Type extends Enum<CreatePlanBranchSettings.Type>
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
static CreatePlanBranchSettings.Type |
parse(String key) |
static CreatePlanBranchSettings.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreatePlanBranchSettings.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreatePlanBranchSettings.Type MANUAL
public static final CreatePlanBranchSettings.Type BRANCH
public static final CreatePlanBranchSettings.Type PR
public static CreatePlanBranchSettings.Type[] values()
for (CreatePlanBranchSettings.Type c : CreatePlanBranchSettings.Type.values()) System.out.println(c);
public static CreatePlanBranchSettings.Type 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 null@NotNull public static CreatePlanBranchSettings.Type parse(String key) throws IllegalArgumentException
IllegalArgumentException
@NotNull public String getKey()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.