Class MailConnectionMeta
- java.lang.Object
-
- org.pentaho.di.job.entries.getpop.MailConnectionMeta
-
public class MailConnectionMeta extends Object
MailConnection handles the process of connecting to, reading from POP3/IMAP.- Since:
- 01-04-2009
- Author:
- Samatar
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MailConnectionMeta()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getActionTypeByCode(String tt)
static int
getActionTypeByDesc(String tt)
static String
getActionTypeCode(int i)
static String
getActionTypeDesc(int i)
static int
getAfterGetIMAPByCode(String tt)
static int
getAfterGetIMAPByDesc(String tt)
static String
getAfterGetIMAPCode(int i)
static String
getAfterGetIMAPDesc(int i)
static int
getConditionByCode(String tt)
static int
getConditionDateByCode(String tt)
static int
getConditionDateByDesc(String tt)
static String
getConditionDateCode(int i)
static String
getConditionDateDesc(int i)
static int
getProtocolFromString(String protocolCode, int defaultProtocol)
static int
getValueImapListByCode(String tt)
static int
getValueImapListByDesc(String tt)
static String
getValueImapListCode(int i)
static String
getValueImapListDesc(int i)
static int
getValueListImapListByCode(String tt)
-
-
-
Field Detail
-
FOLDER_SEPARATOR
public static final String FOLDER_SEPARATOR
- See Also:
- Constant Field Values
-
PROTOCOL_POP3
public static final int PROTOCOL_POP3
- See Also:
- Constant Field Values
-
PROTOCOL_IMAP
public static final int PROTOCOL_IMAP
- See Also:
- Constant Field Values
-
PROTOCOL_MBOX
public static final int PROTOCOL_MBOX
- See Also:
- Constant Field Values
-
INBOX_FOLDER
public static final String INBOX_FOLDER
- See Also:
- Constant Field Values
-
PROTOCOL_STRING_IMAP
public static final String PROTOCOL_STRING_IMAP
- See Also:
- Constant Field Values
-
PROTOCOL_STRING_POP3
public static final String PROTOCOL_STRING_POP3
- See Also:
- Constant Field Values
-
protocolCodes
public static final String[] protocolCodes
-
PROTOCOL_STRING_MBOX
public static final String PROTOCOL_STRING_MBOX
-
DEFAULT_IMAP_PORT
public static final int DEFAULT_IMAP_PORT
- See Also:
- Constant Field Values
-
DEFAULT_POP3_PORT
public static final int DEFAULT_POP3_PORT
- See Also:
- Constant Field Values
-
DEFAULT_SSL_POP3_PORT
public static final int DEFAULT_SSL_POP3_PORT
- See Also:
- Constant Field Values
-
DEFAULT_SSL_IMAP_PORT
public static final int DEFAULT_SSL_IMAP_PORT
- See Also:
- Constant Field Values
-
actionTypeDesc
public static final String[] actionTypeDesc
-
actionTypeCode
public static final String[] actionTypeCode
-
ACTION_TYPE_GET
public static final int ACTION_TYPE_GET
- See Also:
- Constant Field Values
-
ACTION_TYPE_MOVE
public static final int ACTION_TYPE_MOVE
- See Also:
- Constant Field Values
-
ACTION_TYPE_DELETE
public static final int ACTION_TYPE_DELETE
- See Also:
- Constant Field Values
-
conditionDateDesc
public static final String[] conditionDateDesc
-
conditionDateCode
public static final String[] conditionDateCode
-
CONDITION_DATE_IGNORE
public static final int CONDITION_DATE_IGNORE
- See Also:
- Constant Field Values
-
CONDITION_DATE_EQUAL
public static final int CONDITION_DATE_EQUAL
- See Also:
- Constant Field Values
-
CONDITION_DATE_SMALLER
public static final int CONDITION_DATE_SMALLER
- See Also:
- Constant Field Values
-
CONDITION_DATE_GREATER
public static final int CONDITION_DATE_GREATER
- See Also:
- Constant Field Values
-
CONDITION_DATE_BETWEEN
public static final int CONDITION_DATE_BETWEEN
- See Also:
- Constant Field Values
-
valueIMAPListDesc
public static final String[] valueIMAPListDesc
-
valueIMAPListCode
public static final String[] valueIMAPListCode
-
VALUE_IMAP_LIST_ALL
public static final int VALUE_IMAP_LIST_ALL
- See Also:
- Constant Field Values
-
VALUE_IMAP_LIST_NEW
public static final int VALUE_IMAP_LIST_NEW
- See Also:
- Constant Field Values
-
VALUE_IMAP_LIST_OLD
public static final int VALUE_IMAP_LIST_OLD
- See Also:
- Constant Field Values
-
VALUE_IMAP_LIST_READ
public static final int VALUE_IMAP_LIST_READ
- See Also:
- Constant Field Values
-
VALUE_IMAP_LIST_UNREAD
public static final int VALUE_IMAP_LIST_UNREAD
- See Also:
- Constant Field Values
-
VALUE_IMAP_LIST_FLAGGED
public static final int VALUE_IMAP_LIST_FLAGGED
- See Also:
- Constant Field Values
-
VALUE_IMAP_LIST_NOT_FLAGGED
public static final int VALUE_IMAP_LIST_NOT_FLAGGED
- See Also:
- Constant Field Values
-
VALUE_IMAP_LIST_DRAFT
public static final int VALUE_IMAP_LIST_DRAFT
- See Also:
- Constant Field Values
-
VALUE_IMAP_LIST_NOT_DRAFT
public static final int VALUE_IMAP_LIST_NOT_DRAFT
- See Also:
- Constant Field Values
-
VALUE_IMAP_LIST_ANWERED
public static final int VALUE_IMAP_LIST_ANWERED
- See Also:
- Constant Field Values
-
VALUE_IMAP_LIST_NOT_ANSWERED
public static final int VALUE_IMAP_LIST_NOT_ANSWERED
- See Also:
- Constant Field Values
-
afterGetIMAPDesc
public static final String[] afterGetIMAPDesc
-
afterGetIMAPCode
public static final String[] afterGetIMAPCode
-
AFTER_GET_IMAP_NOTHING
public static final int AFTER_GET_IMAP_NOTHING
- See Also:
- Constant Field Values
-
AFTER_GET_IMAP_DELETE
public static final int AFTER_GET_IMAP_DELETE
- See Also:
- Constant Field Values
-
AFTER_GET_IMAP_MOVE
public static final int AFTER_GET_IMAP_MOVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getValueImapListCode
public static String getValueImapListCode(int i)
-
getConditionByCode
public static int getConditionByCode(String tt)
-
getActionTypeByCode
public static int getActionTypeByCode(String tt)
-
getAfterGetIMAPByCode
public static int getAfterGetIMAPByCode(String tt)
-
getValueImapListByCode
public static int getValueImapListByCode(String tt)
-
getValueListImapListByCode
public static int getValueListImapListByCode(String tt)
-
getActionTypeCode
public static String getActionTypeCode(int i)
-
getAfterGetIMAPCode
public static String getAfterGetIMAPCode(int i)
-
getConditionDateCode
public static String getConditionDateCode(int i)
-
getValueImapListByDesc
public static int getValueImapListByDesc(String tt)
-
getConditionDateDesc
public static String getConditionDateDesc(int i)
-
getActionTypeDesc
public static String getActionTypeDesc(int i)
-
getAfterGetIMAPDesc
public static String getAfterGetIMAPDesc(int i)
-
getValueImapListDesc
public static String getValueImapListDesc(int i)
-
getConditionDateByDesc
public static int getConditionDateByDesc(String tt)
-
getActionTypeByDesc
public static int getActionTypeByDesc(String tt)
-
getAfterGetIMAPByDesc
public static int getAfterGetIMAPByDesc(String tt)
-
getConditionDateByCode
public static int getConditionDateByCode(String tt)
-
getProtocolFromString
public static int getProtocolFromString(String protocolCode, int defaultProtocol)
-
-