org.jasig.portlet.emailpreview.dao
Enum MailPreferences

java.lang.Object
  extended by java.lang.Enum<MailPreferences>
      extended by org.jasig.portlet.emailpreview.dao.MailPreferences
All Implemented Interfaces:
Serializable, Comparable<MailPreferences>

public enum MailPreferences
extends Enum<MailPreferences>


Enum Constant Summary
ALLOWABLE_AUTHENTICATION_SERVICE_KEYS
           
AUTHENTICATION_SERVICE_KEY
           
CONNECTION_TIMEOUT
           
HOST
           
INBOX_NAME
           
LINK_SERVICE_KEY
           
MAIL_ACCOUNT
           
MARK_MESSAGES_AS_READ
           
PASSWORD
           
PORT
           
PROTOCOL
           
TIMEOUT
           
USERNAME_SUFFIX
           
 
Method Summary
 String getKey()
           
static MailPreferences valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MailPreferences[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.