Class BatchControlNotifier
java.lang.Object
io.jenkins.plugins.batchcontrol.ops.BatchControlNotifier
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
MailNotifier
Extension point receiving Batch Control request events (SPEC item 13, D-36). Implementations
are registered with
@Extension; the plugin ships an e-mail implementation for the
Mailer plugin, and other plugins can contribute channels such as chat.
Calls happen on a background thread after the state change is persisted. An exception thrown by an implementation is logged and never affects the request action or other notifiers. Implementations should not block for long.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<BatchControlNotifier> all()All registered notifiers.abstract voidnotify(NotificationEvent event, Notification notification) Delivers one event.
-
Constructor Details
-
BatchControlNotifier
public BatchControlNotifier()
-
-
Method Details
-
notify
Delivers one event.- Parameters:
event- what happenednotification- the request details and the intended recipients
-
all
All registered notifiers.
-