public class MailSender extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
debug |
| Constructor and Description |
|---|
MailSender(String recipients,
boolean dontNotifyEveryUnstableBuild,
boolean sendToIndividuals) |
MailSender(String recipients,
boolean dontNotifyEveryUnstableBuild,
boolean sendToIndividuals,
String charset) |
MailSender(String recipients,
boolean dontNotifyEveryUnstableBuild,
boolean sendToIndividuals,
String charset,
Collection<hudson.model.AbstractProject> includeUpstreamCommitters) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
artifactMatches(String path,
hudson.model.AbstractBuild<?,?> build)
Check whether a path (/-separated) will be archived.
|
boolean |
execute(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
protected javax.mail.internet.MimeMessage |
getMail(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
public MailSender(String recipients, boolean dontNotifyEveryUnstableBuild, boolean sendToIndividuals)
public MailSender(String recipients, boolean dontNotifyEveryUnstableBuild, boolean sendToIndividuals, String charset)
public MailSender(String recipients, boolean dontNotifyEveryUnstableBuild, boolean sendToIndividuals, String charset, Collection<hudson.model.AbstractProject> includeUpstreamCommitters)
public boolean execute(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws InterruptedException
InterruptedExceptionprotected javax.mail.internet.MimeMessage getMail(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws javax.mail.MessagingException,
UnsupportedEncodingException,
InterruptedException
javax.mail.MessagingExceptionUnsupportedEncodingExceptionInterruptedExceptionprotected boolean artifactMatches(String path, hudson.model.AbstractBuild<?,?> build)
Copyright © 2014. All rights reserved.