public class SchedulerMailHelper
extends java.lang.Object
Constructor and Description |
---|
SchedulerMailHelper(MailService mailService,
<any> simpleJuelProvider,
ReportExecutorService reportExecutorService,
<any> config,
<any> deprecatedMailConfigProvider) |
Modifier and Type | Method and Description |
---|---|
SimpleJuel |
getConfiguredJuel(ReportExecuteJob job) |
InternetAddress |
getMailFrom(ReportExecuteJob job) |
java.util.Set<java.lang.String> |
getRecipientEmailList(ReportExecuteJob job)
Gets all non-empty, unique email addresses of recipients in the given
ReportExecuteJob . |
boolean |
isHTML() |
SimpleMail |
prepareSimpleMail(ReportExecuteJob job) |
public SchedulerMailHelper(MailService mailService, <any> simpleJuelProvider, ReportExecutorService reportExecutorService, <any> config, <any> deprecatedMailConfigProvider)
public SimpleMail prepareSimpleMail(ReportExecuteJob job)
public boolean isHTML()
public InternetAddress getMailFrom(ReportExecuteJob job)
public java.util.Set<java.lang.String> getRecipientEmailList(ReportExecuteJob job)
ReportExecuteJob
.job
- the job containing the recipientspublic SimpleJuel getConfiguredJuel(ReportExecuteJob job)