Package org.jivesoftware.openfire.net
Enum SASLAuthentication.ElementType
- java.lang.Object
-
- java.lang.Enum<SASLAuthentication.ElementType>
-
- org.jivesoftware.openfire.net.SASLAuthentication.ElementType
-
- All Implemented Interfaces:
Serializable
,Comparable<SASLAuthentication.ElementType>
- Enclosing class:
- SASLAuthentication
public static enum SASLAuthentication.ElementType extends Enum<SASLAuthentication.ElementType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SASLAuthentication.ElementType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SASLAuthentication.ElementType
valueOfCaseInsensitive(String name)
static SASLAuthentication.ElementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABORT
public static final SASLAuthentication.ElementType ABORT
-
AUTH
public static final SASLAuthentication.ElementType AUTH
-
RESPONSE
public static final SASLAuthentication.ElementType RESPONSE
-
CHALLENGE
public static final SASLAuthentication.ElementType CHALLENGE
-
FAILURE
public static final SASLAuthentication.ElementType FAILURE
-
UNDEF
public static final SASLAuthentication.ElementType UNDEF
-
-
Method Detail
-
values
public static SASLAuthentication.ElementType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SASLAuthentication.ElementType c : SASLAuthentication.ElementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SASLAuthentication.ElementType 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 nameNullPointerException
- if the argument is null
-
valueOfCaseInsensitive
public static SASLAuthentication.ElementType valueOfCaseInsensitive(String name)
-
-