Class MailWatcherNotification
- java.lang.Object
-
- org.jenkinsci.plugins.mailwatcher.MailWatcherNotification
-
public abstract class MailWatcherNotification extends Object
Abstract notification for Jenkins.- Author:
- ogondza
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MailWatcherNotification.Builder
-
Field Summary
Fields Modifier and Type Field Description protected MailWatcherMailer
mailer
-
Constructor Summary
Constructors Constructor Description MailWatcherNotification(MailWatcherNotification.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getBody()
User
getInitiator()
String
getMailBody()
String
getMailSubject()
String
getName()
String
getRecipients()
protected String
getSubject()
String
getUrl()
protected Map<String,String>
pairs()
void
send()
protected boolean
shouldNotify()
-
-
-
Field Detail
-
mailer
protected final MailWatcherMailer mailer
-
-
Constructor Detail
-
MailWatcherNotification
public MailWatcherNotification(MailWatcherNotification.Builder builder)
-
-
Method Detail
-
getSubject
protected String getSubject()
-
getBody
protected String getBody()
-
getRecipients
public String getRecipients()
-
getUrl
public String getUrl()
-
getName
public String getName()
-
getInitiator
public User getInitiator()
-
shouldNotify
protected boolean shouldNotify()
-
getMailSubject
public final String getMailSubject()
-
getMailBody
public final String getMailBody()
-
send
public final void send()
-
-