Class MailNotifier
java.lang.Object
io.jenkins.plugins.batchcontrol.ops.BatchControlNotifier
io.jenkins.plugins.batchcontrol.ops.MailNotifier
- All Implemented Interfaces:
ExtensionPoint
@Extension(optional=true)
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class MailNotifier
extends BatchControlNotifier
The shipped e-mail
BatchControlNotifier (SPEC item 13, D-36). Mailer is an optional
dependency: this extension is optional, so without Mailer it is simply not loaded.
Nothing is sent unless the global option emailNotifications is on. The address is the
recipient's Mailer user property; a recipient without one is skipped. Messages are plain text.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnotify(NotificationEvent event, Notification notification) Delivers one event.Methods inherited from class io.jenkins.plugins.batchcontrol.ops.BatchControlNotifier
all
-
Constructor Details
-
MailNotifier
public MailNotifier()
-
-
Method Details
-
notify
Description copied from class:BatchControlNotifierDelivers one event.- Specified by:
notifyin classBatchControlNotifier- Parameters:
event- what happenednotification- the request details and the intended recipients
-