Enum Class Sasl2TaskManager.Outcome

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

public static enum Sasl2TaskManager.Outcome extends Enum<Sasl2TaskManager.Outcome>
The outcome of processing one protocol element in the task flow.
  • Enum Constant Details

    • AWAITING_PEER

      public static final Sasl2TaskManager.Outcome AWAITING_PEER
      Something has been sent to the peer. The SASL2 negotiation is still in progress and the caller must not conclude it.
    • NEGOTIATION_COMPLETE

      public static final Sasl2TaskManager.Outcome NEGOTIATION_COMPLETE
      Every eligible task has completed. The caller must now conclude the SASL2 negotiation, which delivers <success/>.
  • Method Details

    • values

      public static Sasl2TaskManager.Outcome[] 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 Sasl2TaskManager.Outcome 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