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
The outcome of processing one protocol element in the task flow.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSomething has been sent to the peer.Every eligible task has completed. -
Method Summary
Modifier and TypeMethodDescriptionstatic Sasl2TaskManager.OutcomeReturns the enum constant of this class with the specified name.static Sasl2TaskManager.Outcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
Every eligible task has completed. The caller must now conclude the SASL2 negotiation, which delivers<success/>.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-