org.jasig.portlet.emailpreview.dao
Enum MailPreferences
java.lang.Object
java.lang.Enum<MailPreferences>
org.jasig.portlet.emailpreview.dao.MailPreferences
- All Implemented Interfaces:
- Serializable, Comparable<MailPreferences>
public enum MailPreferences
- extends Enum<MailPreferences>
PROTOCOL
public static final MailPreferences PROTOCOL
HOST
public static final MailPreferences HOST
PORT
public static final MailPreferences PORT
INBOX_NAME
public static final MailPreferences INBOX_NAME
CONNECTION_TIMEOUT
public static final MailPreferences CONNECTION_TIMEOUT
TIMEOUT
public static final MailPreferences TIMEOUT
LINK_SERVICE_KEY
public static final MailPreferences LINK_SERVICE_KEY
AUTHENTICATION_SERVICE_KEY
public static final MailPreferences AUTHENTICATION_SERVICE_KEY
ALLOWABLE_AUTHENTICATION_SERVICE_KEYS
public static final MailPreferences ALLOWABLE_AUTHENTICATION_SERVICE_KEYS
USERNAME_SUFFIX
public static final MailPreferences USERNAME_SUFFIX
MARK_MESSAGES_AS_READ
public static final MailPreferences MARK_MESSAGES_AS_READ
MAIL_ACCOUNT
public static final MailPreferences MAIL_ACCOUNT
PASSWORD
public static final MailPreferences PASSWORD
values
public static MailPreferences[] 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 (MailPreferences c : MailPreferences.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MailPreferences 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 name
NullPointerException - if the argument is null
getKey
public String getKey()
Copyright © 2012 Jasig. All Rights Reserved.