Package at.bestsolution.uia
Enum Class NotificationProcessing
- All Implemented Interfaces:
INativeEnum,Serializable,Comparable<NotificationProcessing>,Constable
Defines values that indicate how a notification should be processed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThese notifications should be presented to the user when possible.These notifications should be presented to the user when possible.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.These notifications should be presented to the user as soon as possible.These notifications should be presented to the user when possible. -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<NotificationProcessing>fromNativeValue(int nativeValue) intstatic NotificationProcessingReturns the enum constant of this class with the specified name.static NotificationProcessing[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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.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.
-
ImportantMostRecent
These notifications should be presented to the user as soon as possible. The most recent notification from this source should be delivered to the user because it supersedes all of the other notifications. -
All
These notifications should be presented to the user when possible. All of the notifications from this source should be delivered to the user. -
MostRecent
These notifications should be presented to the user when possible. The most recent notification from this source should be delivered to the user because it supersedes all of the other notifications. -
CurrentThenMostRecent
These notifications should be presented to the user when possible. Don’t interrupt the current notification for this one. If new notifications come in from the same source while the current notification is being presented, keep the most recent and ignore the rest until the current processing is completed. Then, use the most recent message as the current message.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getNativeValue
public int getNativeValue()- Specified by:
getNativeValuein interfaceINativeEnum
-
getConstantName
- Specified by:
getConstantNamein interfaceINativeEnum
-
fromNativeValue
-