Enum Class NotificationProcessing

java.lang.Object
java.lang.Enum<NotificationProcessing>
at.bestsolution.uia.NotificationProcessing
All Implemented Interfaces:
INativeEnum, Serializable, Comparable<NotificationProcessing>, Constable

public enum NotificationProcessing extends Enum<NotificationProcessing> implements INativeEnum
Defines values that indicate how a notification should be processed.
  • Enum Constant Details

    • ImportantAll

      public static final NotificationProcessing 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

      public static final NotificationProcessing 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

      public static final NotificationProcessing 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

      public static final NotificationProcessing 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

      public static final NotificationProcessing 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

      public static NotificationProcessing[] 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

      public static NotificationProcessing valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNativeValue

      public int getNativeValue()
      Specified by:
      getNativeValue in interface INativeEnum
    • getConstantName

      public String getConstantName()
      Specified by:
      getConstantName in interface INativeEnum
    • fromNativeValue

      public static Optional<NotificationProcessing> fromNativeValue(int nativeValue)