public enum BranchTriggeringOption extends Enum<BranchTriggeringOption>
Enum Constant and Description |
---|
CUSTOM |
INHERITED |
MANUAL_ONLY |
Modifier and Type | Method and Description |
---|---|
static BranchTriggeringOption |
fromKey(String key) |
static BranchTriggeringOption |
fromSpecsConstant(com.atlassian.bamboo.specs.api.model.plan.branches.PlanBranchManagementProperties.TriggeringOption exportConstant)
Converts the given Bamboo Specs constant to an instance of this enum.
|
String |
getKey()
Key for this constant to be used e.g.
|
com.atlassian.bamboo.specs.api.model.plan.branches.PlanBranchManagementProperties.TriggeringOption |
toSpecsConstant()
Returns Bamboo Specs constant used for exporting this enum.
|
static BranchTriggeringOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BranchTriggeringOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BranchTriggeringOption INHERITED
public static final BranchTriggeringOption MANUAL_ONLY
public static final BranchTriggeringOption CUSTOM
public static BranchTriggeringOption[] values()
for (BranchTriggeringOption c : BranchTriggeringOption.values()) System.out.println(c);
public static BranchTriggeringOption 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 String getKey()
@NotNull public static BranchTriggeringOption fromKey(@NotNull String key)
@NotNull public com.atlassian.bamboo.specs.api.model.plan.branches.PlanBranchManagementProperties.TriggeringOption toSpecsConstant()
@NotNull public static BranchTriggeringOption fromSpecsConstant(@NotNull com.atlassian.bamboo.specs.api.model.plan.branches.PlanBranchManagementProperties.TriggeringOption exportConstant)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.