Enum NotificationRecipients.NotificationRecipientType
- java.lang.Object
-
- java.lang.Enum<NotificationRecipients.NotificationRecipientType>
-
- com.atlassian.bamboo.configuration.external.yaml.properties.common.recipients.NotificationRecipients.NotificationRecipientType
-
- All Implemented Interfaces:
Serializable,Comparable<NotificationRecipients.NotificationRecipientType>
- Enclosing interface:
- NotificationRecipients
public static enum NotificationRecipients.NotificationRecipientType extends Enum<NotificationRecipients.NotificationRecipientType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMITTERSEMAILSGROUPSPLUGINRESPONSIBLEUSERSWATCHERSWEBHOOK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull Optional<NotificationRecipients.NotificationRecipientType>fromPluginKey(@NotNull String pluginKey)static @NotNull Optional<NotificationRecipients.NotificationRecipientType>fromValue(@NotNull String value)StringgetPluginKey()@NotNull StringgetValue()booleanisDeploymentRecipientType()booleanisPlanRecipientType()static NotificationRecipients.NotificationRecipientTypevalueOf(String name)Returns the enum constant of this type with the specified name.static NotificationRecipients.NotificationRecipientType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USERS
public static final NotificationRecipients.NotificationRecipientType USERS
-
GROUPS
public static final NotificationRecipients.NotificationRecipientType GROUPS
-
EMAILS
public static final NotificationRecipients.NotificationRecipientType EMAILS
-
WEBHOOK
public static final NotificationRecipients.NotificationRecipientType WEBHOOK
-
RESPONSIBLE
public static final NotificationRecipients.NotificationRecipientType RESPONSIBLE
-
COMMITTERS
public static final NotificationRecipients.NotificationRecipientType COMMITTERS
-
WATCHERS
public static final NotificationRecipients.NotificationRecipientType WATCHERS
-
PLUGIN
public static final NotificationRecipients.NotificationRecipientType PLUGIN
-
-
Method Detail
-
values
public static NotificationRecipients.NotificationRecipientType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NotificationRecipients.NotificationRecipientType c : NotificationRecipients.NotificationRecipientType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NotificationRecipients.NotificationRecipientType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromValue
@NotNull public static @NotNull Optional<NotificationRecipients.NotificationRecipientType> fromValue(@NotNull @NotNull String value)
-
fromPluginKey
@NotNull public static @NotNull Optional<NotificationRecipients.NotificationRecipientType> fromPluginKey(@NotNull @NotNull String pluginKey)
-
getValue
@NotNull public @NotNull String getValue()
-
getPluginKey
public String getPluginKey()
-
isDeploymentRecipientType
public boolean isDeploymentRecipientType()
-
isPlanRecipientType
public boolean isPlanRecipientType()
-
-