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