public class MailSender extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
debug
Deprecated.
This hack may be removed in future versions
|
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.
|
protected javax.mail.internet.MimeMessage |
createMail(hudson.model.Run<?,?> build,
hudson.model.TaskListener listener) |
boolean |
execute(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Deprecated.
|
protected javax.mail.internet.MimeMessage |
getMail(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Deprecated.
|
void |
run(hudson.model.Run<?,?> build,
hudson.model.TaskListener listener) |
@Deprecated public static boolean debug
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)
@Deprecated public boolean execute(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener) throws InterruptedException
InterruptedException
public final void run(hudson.model.Run<?,?> build, hudson.model.TaskListener listener) throws InterruptedException
InterruptedException
@Deprecated protected javax.mail.internet.MimeMessage getMail(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener) throws javax.mail.MessagingException, UnsupportedEncodingException, InterruptedException
javax.mail.MessagingException
UnsupportedEncodingException
InterruptedException
@CheckForNull protected javax.mail.internet.MimeMessage createMail(hudson.model.Run<?,?> build, hudson.model.TaskListener listener) throws javax.mail.MessagingException, UnsupportedEncodingException, InterruptedException
javax.mail.MessagingException
UnsupportedEncodingException
InterruptedException
protected boolean artifactMatches(String path, hudson.model.AbstractBuild<?,?> build)
Copyright © 2015. All rights reserved.