Class MailWatcherNotification.Builder
- java.lang.Object
-
- org.jenkinsci.plugins.mailwatcher.MailWatcherNotification.Builder
-
- Enclosing class:
- MailWatcherNotification
public abstract static class MailWatcherNotification.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected MailWatcherMailer
mailer
-
Constructor Summary
Constructors Constructor Description Builder(MailWatcherMailer mailer, String jenkinsRootUrl)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description MailWatcherNotification.Builder
body(String body)
protected MailWatcherNotification.Builder
initiator(User initiator)
protected MailWatcherNotification.Builder
name(String name)
MailWatcherNotification.Builder
recipients(String recipients)
abstract void
send(Object object)
MailWatcherNotification.Builder
subject(String subject)
protected MailWatcherNotification.Builder
url(String url)
-
-
-
Field Detail
-
mailer
protected final MailWatcherMailer mailer
-
-
Constructor Detail
-
Builder
public Builder(MailWatcherMailer mailer, String jenkinsRootUrl)
-
-
Method Detail
-
subject
public MailWatcherNotification.Builder subject(String subject)
-
body
public MailWatcherNotification.Builder body(String body)
-
recipients
public MailWatcherNotification.Builder recipients(String recipients)
-
url
protected MailWatcherNotification.Builder url(String url)
-
name
protected MailWatcherNotification.Builder name(String name)
-
initiator
protected MailWatcherNotification.Builder initiator(User initiator)
-
send
public abstract void send(Object object)
-
-