public static enum NotificationRecipients.NotificationRecipientType extends Enum<NotificationRecipients.NotificationRecipientType>
Enum Constant and Description |
---|
COMMITTERS |
EMAILS |
GROUPS |
PLUGIN |
RESPONSIBLE |
USERS |
WATCHERS |
WEBHOOK |
Modifier and Type | Method and Description |
---|---|
static @NotNull Optional<NotificationRecipients.NotificationRecipientType> |
fromPluginKey(@NotNull String pluginKey) |
static @NotNull Optional<NotificationRecipients.NotificationRecipientType> |
fromValue(@NotNull String value) |
String |
getPluginKey() |
@NotNull String |
getValue() |
boolean |
isDeploymentRecipientType() |
boolean |
isPlanRecipientType() |
static NotificationRecipients.NotificationRecipientType |
valueOf(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.
|
public static final NotificationRecipients.NotificationRecipientType USERS
public static final NotificationRecipients.NotificationRecipientType GROUPS
public static final NotificationRecipients.NotificationRecipientType EMAILS
public static final NotificationRecipients.NotificationRecipientType WEBHOOK
public static final NotificationRecipients.NotificationRecipientType RESPONSIBLE
public static final NotificationRecipients.NotificationRecipientType COMMITTERS
public static final NotificationRecipients.NotificationRecipientType WATCHERS
public static final NotificationRecipients.NotificationRecipientType PLUGIN
public static NotificationRecipients.NotificationRecipientType[] values()
for (NotificationRecipients.NotificationRecipientType c : NotificationRecipients.NotificationRecipientType.values()) System.out.println(c);
public static NotificationRecipients.NotificationRecipientType 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 @NotNull Optional<NotificationRecipients.NotificationRecipientType> fromValue(@NotNull @NotNull String value)
@NotNull public static @NotNull Optional<NotificationRecipients.NotificationRecipientType> fromPluginKey(@NotNull @NotNull String pluginKey)
@NotNull public @NotNull String getValue()
public String getPluginKey()
public boolean isDeploymentRecipientType()
public boolean isPlanRecipientType()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.