Class TaskExecutionProgress
java.lang.Object
ch.tocco.nice2.optional.mailintegration.impl.handler.TaskExecutionProgress
- All Implemented Interfaces:
CompositeMailReaderHandler.Progress<LogEntry>
public class TaskExecutionProgress
extends Object
implements CompositeMailReaderHandler.Progress<LogEntry>
-
Field Summary
Fields inherited from interface ch.tocco.nice2.messaging.mail.api.CompositeMailReaderHandler.Progress
EMPTY_PROGRESS
-
Constructor Summary
ConstructorDescriptionTaskExecutionProgress
(ProgressLog progressLog, Supplier<Boolean> isCancelled, org.slf4j.Logger log, L10N l10n) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterMessage
(Optional<LogEntry> result) beforeMessage
(jakarta.mail.Message message)
-
Constructor Details
-
TaskExecutionProgress
public TaskExecutionProgress(ProgressLog progressLog, Supplier<Boolean> isCancelled, org.slf4j.Logger log, L10N l10n)
-
-
Method Details
-
beforeMessage
public Optional<LogEntry> beforeMessage(jakarta.mail.Message message) throws jakarta.mail.MessagingException - Specified by:
beforeMessage
in interfaceCompositeMailReaderHandler.Progress<LogEntry>
- Throws:
jakarta.mail.MessagingException
-
afterMessage
- Specified by:
afterMessage
in interfaceCompositeMailReaderHandler.Progress<LogEntry>
-