public enum NotificationTemplate extends Enum<NotificationTemplate>
This class is for internal use only. It can be removed any time once all notification templates have been transformed.
Enum Constant and Description |
---|
ADG |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled(String templateIdentifier)
Check if a particular ADG template should be used.
|
static NotificationTemplate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationTemplate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationTemplate ADG
public static NotificationTemplate[] values()
for (NotificationTemplate c : NotificationTemplate.values()) System.out.println(c);
public static NotificationTemplate 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 nullpublic boolean isEnabled(String templateIdentifier)
templateIdentifier
- an identifier for a specific template, e.g. page.create
or comment.remove
Copyright © 2003–2020 Atlassian. All rights reserved.