Enum SendingResult

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SendingResult>, java.lang.constant.Constable

    public enum SendingResult
    extends java.lang.Enum<SendingResult>
    Marks a message as Delivered or not Delivered
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Enum

        java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      Enqueued
      Enqueued indicates that a message was successfully formed and then sent to an internal messaging service
      Handled
      Handled indicates that a message was successfully sent and processed
      NotHandled
      NotHandled indicates that the message was not handled.
    • Method Summary

      Modifier and Type Method Description
      static SendingResult valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SendingResult[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • Handled

        public static final SendingResult Handled
        Handled indicates that a message was successfully sent and processed
      • Enqueued

        public static final SendingResult Enqueued
        Enqueued indicates that a message was successfully formed and then sent to an internal messaging service
      • NotHandled

        public static final SendingResult NotHandled
        NotHandled indicates that the message was not handled. This can occur if an exception occurs in the message processor or if internal messaging service reached capacity.
    • Method Detail

      • values

        public static SendingResult[] values()
        Returns an array containing the constants of this enum type, in the order they are declared.
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SendingResult valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null