@Extension public class WebHookNotificationEndpoint extends NotificationEndpoint
Modifier and Type | Class and Description |
---|---|
static class |
WebHookNotificationEndpoint.DescriptorImpl |
static class |
WebHookNotificationEndpoint.WebHookEndpointEventCustom |
NotificationEndpoint.EndpointEvent, NotificationEndpoint.EndpointEventCustom
Constructor and Description |
---|
WebHookNotificationEndpoint() |
WebHookNotificationEndpoint(String url,
long timeout) |
Modifier and Type | Method and Description |
---|---|
long |
getTimeout() |
String |
getUrl() |
void |
notify(ExtremeNotificationPlugin.Event event) |
void |
notify(ExtremeNotificationPlugin.Event event,
NotificationEndpoint.EndpointEvent endpointEvent) |
void |
setTimeout(long timeout) |
void |
setUrl(String url) |
all, getEvents, interpolate, interpolate
public WebHookNotificationEndpoint()
@DataBoundConstructor public WebHookNotificationEndpoint(String url, long timeout)
public String getUrl()
public void setUrl(String url)
public long getTimeout()
public void setTimeout(long timeout)
public void notify(ExtremeNotificationPlugin.Event event)
notify
in class NotificationEndpoint
public void notify(ExtremeNotificationPlugin.Event event, NotificationEndpoint.EndpointEvent endpointEvent)
notify
in class NotificationEndpoint
Copyright © 2016–2019. All rights reserved.