Class AbstractMailWorker
java.lang.Object
ch.tocco.nice2.optional.mailintegration.spi.AbstractMailWorker
- All Implemented Interfaces:
MailWorker
- Direct Known Subclasses:
MailStoreWorker
,NullMailWorker
,WinmailWorker
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
boolean
property set by mail worker that stores the incoming mail in the Email_archive. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
finish
(MailWorkerContext context) Called after all messages have been read.void
init
(MailWorkerConfig config) Called before any message is read.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.optional.mailintegration.spi.MailWorker
perform
-
Field Details
-
DUPLICATE_MAIL_PROPERTY
boolean
property set by mail worker that stores the incoming mail in the Email_archive. This property is set totrue
, if the mail has already existed in the database when adding it.- See Also:
-
-
Constructor Details
-
AbstractMailWorker
public AbstractMailWorker()
-
-
Method Details
-
init
Description copied from interface:MailWorker
Called before any message is read.- Specified by:
init
in interfaceMailWorker
-
finish
Description copied from interface:MailWorker
Called after all messages have been read.- Specified by:
finish
in interfaceMailWorker
-