Enum EventElementType

java.lang.Object
java.lang.Enum<EventElementType>
org.jivesoftware.smackx.pubsub.EventElementType
All Implemented Interfaces:
Serializable, Comparable<EventElementType>

public enum EventElementType extends Enum<EventElementType>
This enumeration defines the possible event types that are supported within PubSub event messages.
  • Enum Constant Details

    • collection

      public static final EventElementType collection
      A node has been associated or disassociated with a collection node.
    • configuration

      public static final EventElementType configuration
      A node has had its configuration changed.
    • delete

      public static final EventElementType delete
      A node has been deleted.
    • items

      public static final EventElementType items
      Items have been published to a node.
    • purge

      public static final EventElementType purge
      All items have been purged from a node.
    • subscription

      public static final EventElementType subscription
      A node has been subscribed to.
  • Method Details

    • values

      public static EventElementType[] 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 EventElementType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null