public enum NotificationTemplatePurpose extends Enum<NotificationTemplatePurpose> implements HasName
| Enum Constant and Description |
|---|
EXCEPTION_EVENT
User template for exceptionEvents.
|
MAINTENANCE_NOTIFICATION
User template for maintenance notification reminders.
|
UNKNOWN
Fallback when enumeration value is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static NotificationTemplatePurpose |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static NotificationTemplatePurpose |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationTemplatePurpose[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationTemplatePurpose UNKNOWN
public static final NotificationTemplatePurpose EXCEPTION_EVENT
public static final NotificationTemplatePurpose MAINTENANCE_NOTIFICATION
public static NotificationTemplatePurpose[] values()
for (NotificationTemplatePurpose c : NotificationTemplatePurpose.values()) System.out.println(c);
public static NotificationTemplatePurpose 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 int getCode()
public static NotificationTemplatePurpose findOrDefault(String name)
Copyright © 2023. All rights reserved.