com.openexchange.mail.transport.config
Class MailAccountTransportProperties

java.lang.Object
  extended by com.openexchange.mail.transport.config.MailAccountTransportProperties
All Implemented Interfaces:
ITransportProperties

public class MailAccountTransportProperties
extends java.lang.Object
implements ITransportProperties

MailAccountTransportProperties - Transport properties read from mail account with fallback to properties read from properties file.

Author:
Thorben Betten

Constructor Summary
MailAccountTransportProperties(com.openexchange.mailaccount.MailAccount mailAccount)
          Initializes a new MailAccountTransportProperties.
 
Method Summary
 int getReferencedPartLimit()
          Gets the referencedPartLimit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailAccountTransportProperties

public MailAccountTransportProperties(com.openexchange.mailaccount.MailAccount mailAccount)
Initializes a new MailAccountTransportProperties.

Parameters:
mailAccount - The mail account providing the properties
Throws:
java.lang.IllegalArgumentException - If provided mail account is null
Method Detail

getReferencedPartLimit

public int getReferencedPartLimit()
Description copied from interface: ITransportProperties
Gets the referencedPartLimit

Specified by:
getReferencedPartLimit in interface ITransportProperties
Returns:
the referencedPartLimit