Class SendMailJob
java.lang.Object
ch.tocco.nice2.tasks.api.quartz.AbstractJob
ch.tocco.nice2.tasks.api.quartz.AbstractInterruptableJob
ch.tocco.nice2.optional.address.impl.action.mail.SendMailJob
- All Implemented Interfaces:
org.quartz.InterruptableJob
,org.quartz.Job
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A bean for durable and ephemeral attachements. -
Field Summary
Fields inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractJob
businessUnitManager, l10N, logger, principalManager, securityManager
-
Constructor Summary
ConstructorDescriptionSendMailJob
(org.slf4j.Logger log, ContextManager contextManager, CommandExecutor executor, MailBuilder mailBuilder, MailReceiverService mailReceiverService, EntityExplorerActionSelectionService selectionService, UriResolver uriResolver, MultiUploadService multiUploadService, MailArchive mailArchive) -
Method Summary
Modifier and TypeMethodDescriptionvoid
doExecute
(org.quartz.JobExecutionContext context, JobDataMapReader jobDataMap) void
setExtensions
(List<MailActionExtension> extensions) Methods inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractInterruptableJob
interrupt, isCancelled
Methods inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractJob
execute, getProgress, getProgressLog, setBusinessUnitManager, setConverters, setL10N, setLogger, setPrincipalManager, setProgressPersistenceManager, setRuleProviderService, setSecurityManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.quartz.Job
execute
-
Field Details
-
MAX_BATCH_SIZE
public static final int MAX_BATCH_SIZE- See Also:
-
-
Constructor Details
-
SendMailJob
public SendMailJob(org.slf4j.Logger log, ContextManager contextManager, CommandExecutor executor, MailBuilder mailBuilder, MailReceiverService mailReceiverService, EntityExplorerActionSelectionService selectionService, UriResolver uriResolver, MultiUploadService multiUploadService, MailArchive mailArchive)
-
-
Method Details
-
setExtensions
-
doExecute
- Specified by:
doExecute
in classAbstractJob
-