Class NotificationChannel
java.lang.Object
hudson.model.AbstractDescribableImpl<NotificationChannel>
io.jenkins.plugins.interactiveinput.notify.NotificationChannel
- All Implemented Interfaces:
Describable<NotificationChannel>
- Direct Known Subclasses:
EmailChannel,SlackChannel,TeamsChannel
A notify-only outbound delivery channel (email, Teams webhook, Slack webhook, or a future
extension). Each implementation ships its own config form; the job property holds a list of them.
send(io.jenkins.plugins.interactiveinput.notify.NotificationEvent) must not throw and must not block a pipeline thread — callers already dispatch
off-thread. Do not add Stapler do* methods that contact the remote service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionall()abstract voidsend(NotificationEvent event) Deliverevent.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
NotificationChannel
public NotificationChannel()
-
-
Method Details
-
send
Deliverevent. Implementations log and return on failure; they must not throw.- Parameters:
event- a snapshot with job metadata and an absolute Jenkins URL; never the review file or question context markdown
-
all
@NonNull public static DescriptorExtensionList<NotificationChannel,Descriptor<NotificationChannel>> all()
-