Enum Class Node.ItemReplyPolicy

java.lang.Object
java.lang.Enum<Node.ItemReplyPolicy>
org.jivesoftware.openfire.pubsub.Node.ItemReplyPolicy
All Implemented Interfaces:
Serializable, Comparable<Node.ItemReplyPolicy>, Constable
Enclosing class:
Node

public static enum Node.ItemReplyPolicy extends Enum<Node.ItemReplyPolicy>
Policy that defines whether owners or publisher should receive replies to items.
  • Enum Constant Details

    • owner

      public static final Node.ItemReplyPolicy owner
      Statically specify a replyto of the node owner(s).
    • publisher

      public static final Node.ItemReplyPolicy publisher
      Dynamically specify a replyto of the item publisher.
  • Method Details

    • values

      public static Node.ItemReplyPolicy[] 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 Node.ItemReplyPolicy 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