2010-12-30 16:57:59 -05:00
|
|
|
package com.fsck.k9.mail.transport.imap;
|
|
|
|
|
2014-02-13 17:18:16 -05:00
|
|
|
import com.fsck.k9.mail.AuthType;
|
2014-02-13 19:43:24 -05:00
|
|
|
import com.fsck.k9.mail.ConnectionSecurity;
|
2010-12-30 16:57:59 -05:00
|
|
|
import com.fsck.k9.mail.store.ImapStore;
|
|
|
|
import com.fsck.k9.mail.store.ImapStore.ImapConnection;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Settings source for IMAP. Implemented in order to remove coupling between {@link ImapStore} and {@link ImapConnection}.
|
|
|
|
*/
|
2011-02-06 17:09:48 -05:00
|
|
|
public interface ImapSettings {
|
2010-12-30 16:57:59 -05:00
|
|
|
String getHost();
|
|
|
|
|
|
|
|
int getPort();
|
|
|
|
|
2014-02-13 19:43:24 -05:00
|
|
|
ConnectionSecurity getConnectionSecurity();
|
2010-12-30 16:57:59 -05:00
|
|
|
|
|
|
|
AuthType getAuthType();
|
|
|
|
|
|
|
|
String getUsername();
|
|
|
|
|
|
|
|
String getPassword();
|
|
|
|
|
|
|
|
boolean useCompression(int type);
|
|
|
|
|
|
|
|
String getPathPrefix();
|
|
|
|
|
|
|
|
void setPathPrefix(String prefix);
|
|
|
|
|
|
|
|
String getPathDelimeter();
|
|
|
|
|
|
|
|
void setPathDelimeter(String delimeter);
|
|
|
|
|
|
|
|
String getCombinedPrefix();
|
|
|
|
|
|
|
|
void setCombinedPrefix(String prefix);
|
|
|
|
}
|