Class MailNotification
java.lang.Object
com.jenkins.testresultsaggregator.reports.MailNotification
- 
Constructor Summary
ConstructorsConstructorDescriptionMailNotification(PrintStream logger, List<Data> dataJob, FilePath workspace, File rootDirectory)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected FilecopyStream(String sourceFile, String destinationFile, File directory) voidsend(String mailTo, String mailToCC, String mailToBCc, String mailFrom, String subject, String body, Map<String, ImagesMap.ImageData> images, String preBodyText, String afterBodyText) voidsendIgnoredData(String mailTo, String mailFrom, String subject, String body, String preBodyText, String afterBodyText)  
- 
Constructor Details
- 
MailNotification
public MailNotification(PrintStream logger, List<Data> dataJob, FilePath workspace, File rootDirectory)  
 - 
 - 
Method Details
- 
send
public void send(String mailTo, String mailToCC, String mailToBCc, String mailFrom, String subject, String body, Map<String, ImagesMap.ImageData> images, String preBodyText, String afterBodyText) throws jakarta.mail.MessagingException, IOException, InterruptedException, URISyntaxException- Throws:
 jakarta.mail.MessagingExceptionIOExceptionInterruptedExceptionURISyntaxException
 - 
sendIgnoredData
public void sendIgnoredData(String mailTo, String mailFrom, String subject, String body, String preBodyText, String afterBodyText) throws UnsupportedEncodingException, jakarta.mail.MessagingException - Throws:
 UnsupportedEncodingExceptionjakarta.mail.MessagingException
 - 
copyStream
protected File copyStream(String sourceFile, String destinationFile, File directory) throws IOException, InterruptedException - Throws:
 IOExceptionInterruptedException
 
 -