|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MailConfig.LoginSource>
com.openexchange.mail.api.MailConfig.LoginSource
public static enum MailConfig.LoginSource
| Enum Constant Summary | |
|---|---|
PRIMARY_EMAIL
Login is taken from user.mail kept in storage; e.g. |
|
USER_IMAPLOGIN
Login is taken from user.imapLogin kept in storage; e.g. |
|
USER_NAME
Login is user's name; e.g. |
|
| Method Summary | |
|---|---|
static MailConfig.LoginSource |
parse(java.lang.String loginSourceStr)
Parses specified string into a login source. |
java.lang.String |
toString()
|
static MailConfig.LoginSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MailConfig.LoginSource[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MailConfig.LoginSource PRIMARY_EMAIL
test@foo.bar
public static final MailConfig.LoginSource USER_IMAPLOGIN
test
public static final MailConfig.LoginSource USER_NAME
test
| Method Detail |
|---|
public static final MailConfig.LoginSource[] values()
for(MailConfig.LoginSource c : MailConfig.LoginSource.values())
System.out.println(c);
public static MailConfig.LoginSource valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic static final MailConfig.LoginSource parse(java.lang.String loginSourceStr)
loginSourceStr - The string to parse to a login source
null if string could not be parsed to a login sourcepublic java.lang.String toString()
toString in class java.lang.Enum<MailConfig.LoginSource>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||