public enum NotificationProcessing extends java.lang.Enum<NotificationProcessing> implements INativeEnum
Enum Constant and Description |
---|
All
These notifications
should be presented to the user when possible.
|
CurrentThenMostRecent
These notifications
should be presented to the user when possible.
|
ImportantAll
These notifications should be presented to the user as soon as possible and all of the notifications from this source should be delivered to the user.
|
ImportantMostRecent
These notifications
should be presented to the user as soon as possible.
|
MostRecent
These notifications
should be presented to the user when possible.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<NotificationProcessing> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static NotificationProcessing |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationProcessing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationProcessing ImportantAll
Warning Use this in a limited capacity as this style of message could cause a flooding of information to the user due to the nature of the request to deliver all notifications.
public static final NotificationProcessing ImportantMostRecent
public static final NotificationProcessing All
public static final NotificationProcessing MostRecent
public static final NotificationProcessing CurrentThenMostRecent
public static NotificationProcessing[] values()
for (NotificationProcessing c : NotificationProcessing.values()) System.out.println(c);
public static NotificationProcessing valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getNativeValue()
getNativeValue
in interface INativeEnum
public java.lang.String getConstantName()
getConstantName
in interface INativeEnum
public static java.util.Optional<NotificationProcessing> fromNativeValue(int nativeValue)