Enum AuthCommand.Pop3SaslAuthMechanism
- java.lang.Object
-
- java.lang.Enum<AuthCommand.Pop3SaslAuthMechanism>
-
- com.icegreen.greenmail.pop3.commands.AuthCommand.Pop3SaslAuthMechanism
-
- All Implemented Interfaces:
Serializable,Comparable<AuthCommand.Pop3SaslAuthMechanism>
- Enclosing class:
- AuthCommand
public static enum AuthCommand.Pop3SaslAuthMechanism extends Enum<AuthCommand.Pop3SaslAuthMechanism>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PLAIN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthCommand.Pop3SaslAuthMechanismvalueOf(String name)Returns the enum constant of this type with the specified name.static AuthCommand.Pop3SaslAuthMechanism[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLAIN
public static final AuthCommand.Pop3SaslAuthMechanism PLAIN
-
-
Method Detail
-
values
public static AuthCommand.Pop3SaslAuthMechanism[] 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 (AuthCommand.Pop3SaslAuthMechanism c : AuthCommand.Pop3SaslAuthMechanism.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthCommand.Pop3SaslAuthMechanism 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
-
-