|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openexchange.mail.config.MailAccountProperties
public class MailAccountProperties
MailAccountProperties - Mail properties read from mail account with fallback to properties read from properties file.
| Constructor Summary | |
|---|---|
MailAccountProperties(com.openexchange.mailaccount.MailAccount mailAccount)
Initializes a new MailAccountProperties. |
|
| Method Summary | |
|---|---|
int |
getAttachDisplaySize()
Gets the max. allowed size (in bytes) for attachment for being displayed. |
char |
getDefaultSeparator()
Gets the default separator character. |
int |
getMailAccessCacheIdleSeconds()
Gets the mail access cache idle seconds. |
int |
getMailAccessCacheShrinkerSeconds()
Gets the mail access cache shrinker-interval seconds. |
int |
getMailFetchLimit()
Gets the mail fetch limit. |
int |
getWatcherFrequency()
Gets the watcher frequency. |
int |
getWatcherTime()
Gets the watcher time. |
boolean |
isAllowNestedDefaultFolderOnAltNamespace()
Checks if default folders (e.g. |
boolean |
isIgnoreSubscription()
Indicates whether subscription shall be ignored or not. |
boolean |
isSupportSubscription()
Indicates whether subscription is supported or not. |
boolean |
isUserFlagsEnabled()
Indicates if user flags are enabled. |
boolean |
isWatcherEnabled()
Indicates if watcher is enabled. |
boolean |
isWatcherShallClose()
Indicates if watcher is allowed to close exceeded connections. |
void |
waitForLoading()
Waits for loading this properties. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MailAccountProperties(com.openexchange.mailaccount.MailAccount mailAccount)
MailAccountProperties.
mailAccount - The mail account
java.lang.IllegalArgumentException - If provided mail account is null| Method Detail |
|---|
public int getAttachDisplaySize()
IMailProperties
getAttachDisplaySize in interface IMailPropertiespublic char getDefaultSeparator()
IMailProperties
getDefaultSeparator in interface IMailPropertiespublic int getMailAccessCacheIdleSeconds()
IMailProperties
getMailAccessCacheIdleSeconds in interface IMailPropertiespublic int getMailAccessCacheShrinkerSeconds()
IMailProperties
getMailAccessCacheShrinkerSeconds in interface IMailPropertiespublic int getMailFetchLimit()
IMailProperties
getMailFetchLimit in interface IMailPropertiespublic int getWatcherFrequency()
IMailProperties
getWatcherFrequency in interface IMailPropertiespublic int getWatcherTime()
IMailProperties
getWatcherTime in interface IMailPropertiespublic boolean isAllowNestedDefaultFolderOnAltNamespace()
IMailPropertiesNote that personal namespace folder must allow subfolder creation.
isAllowNestedDefaultFolderOnAltNamespace in interface IMailPropertiestrue if default folders are supposed to be created below personal namespace folder; otherwise falsepublic boolean isIgnoreSubscription()
IMailProperties
isIgnoreSubscription in interface IMailPropertiestrue if subscription shall be ignored; otherwise falsepublic boolean isSupportSubscription()
IMailProperties
isSupportSubscription in interface IMailPropertiestrue if subscription is supported; otherwise falsepublic boolean isUserFlagsEnabled()
IMailProperties
isUserFlagsEnabled in interface IMailPropertiestrue if user flags are enabled; otherwise falsepublic boolean isWatcherEnabled()
IMailProperties
isWatcherEnabled in interface IMailPropertiestrue if watcher is enabled; otherwise falsepublic boolean isWatcherShallClose()
IMailProperties
isWatcherShallClose in interface IMailPropertiestrue if watcher is allowed to close exceeded connections; otherwise false
public void waitForLoading()
throws java.lang.InterruptedException
IMailProperties
waitForLoading in interface IMailPropertiesjava.lang.InterruptedException - If another thread interrupted the current thread before or while the current thread was waiting for
loading the properties.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||