Enum Class Sasl2TaskResult.Type

java.lang.Object
java.lang.Enum<Sasl2TaskResult.Type>
org.jivesoftware.openfire.sasl.task.Sasl2TaskResult.Type
All Implemented Interfaces:
Serializable, Comparable<Sasl2TaskResult.Type>, Constable
Enclosing class:
Sasl2TaskResult

public static enum Sasl2TaskResult.Type extends Enum<Sasl2TaskResult.Type>
  • Enum Constant Details

    • TASK_DATA

      public static final Sasl2TaskResult.Type TASK_DATA
      A <task-data/> element is to be sent to the peer, which is expected to respond in kind.
    • COMPLETED

      public static final Sasl2TaskResult.Type COMPLETED
      The task has completed successfully. The manager will either offer another round of tasks, or complete the SASL2 negotiation.
  • Method Details

    • values

      public static Sasl2TaskResult.Type[] 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 Sasl2TaskResult.Type 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