Class AbstractMailWorker
java.lang.Object
ch.tocco.nice2.optional.mailintegration.spi.AbstractMailWorker
- All Implemented Interfaces:
MailWorker
- Direct Known Subclasses:
MailStoreWorker,NullMailWorker,WinmailWorker
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringbooleanproperty set by mail worker that stores the incoming mail in the Email_archive. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinish(MailWorkerContext context) Called after all messages have been read.voidinit(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, waitMethods inherited from interface ch.tocco.nice2.optional.mailintegration.spi.MailWorker
perform
-
Field Details
-
DUPLICATE_MAIL_PROPERTY
booleanproperty 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:MailWorkerCalled before any message is read.- Specified by:
initin interfaceMailWorker
-
finish
Description copied from interface:MailWorkerCalled after all messages have been read.- Specified by:
finishin interfaceMailWorker
-