org.pentaho.di.job.entries.getpop
Class MailConnectionMeta

java.lang.Object
  extended by 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
static int ACTION_TYPE_DELETE
           
static int ACTION_TYPE_GET
           
static int ACTION_TYPE_MOVE
           
static String[] actionTypeCode
           
static String[] actionTypeDesc
           
static int AFTER_GET_IMAP_DELETE
           
static int AFTER_GET_IMAP_MOVE
           
static int AFTER_GET_IMAP_NOTHING
           
static String[] afterGetIMAPCode
           
static String[] afterGetIMAPDesc
           
static int CONDITION_DATE_BETWEEN
           
static int CONDITION_DATE_EQUAL
           
static int CONDITION_DATE_GREATER
           
static int CONDITION_DATE_IGNORE
           
static int CONDITION_DATE_SMALLER
           
static String[] conditionDateCode
           
static String[] conditionDateDesc
           
static int DEFAULT_IMAP_PORT
           
static int DEFAULT_POP3_PORT
           
static int DEFAULT_SSL_IMAP_PORT
           
static int DEFAULT_SSL_POP3_PORT
           
static String FOLDER_SEPARATOR
           
static String INBOX_FOLDER
           
static int PROTOCOL_IMAP
           
static int PROTOCOL_POP3
           
static String PROTOCOL_STRING_IMAP
           
static String PROTOCOL_STRING_POP3
           
static String[] protocolCodes
           
static int VALUE_IMAP_LIST_ALL
           
static int VALUE_IMAP_LIST_ANWERED
           
static int VALUE_IMAP_LIST_DRAFT
           
static int VALUE_IMAP_LIST_FLAGGED
           
static int VALUE_IMAP_LIST_NEW
           
static int VALUE_IMAP_LIST_NOT_ANSWERED
           
static int VALUE_IMAP_LIST_NOT_DRAFT
           
static int VALUE_IMAP_LIST_NOT_FLAGGED
           
static int VALUE_IMAP_LIST_OLD
           
static int VALUE_IMAP_LIST_READ
           
static int VALUE_IMAP_LIST_UNREAD
           
static String[] valueIMAPListCode
           
static String[] valueIMAPListDesc
           
 
Constructor Summary
MailConnectionMeta()
           
 
Method Summary
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 getValueImapListByCode(String tt)
           
static int getValueImapListByDesc(String tt)
           
static String getValueImapListCode(int i)
           
static String getValueImapListDesc(int i)
           
static int getValueListImapListByCode(String tt)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

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

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
Constructor Detail

MailConnectionMeta

public MailConnectionMeta()
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)