org.jenkinsci.plugins.extremenotification
Class WebHookNotificationEndpoint

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<NotificationEndpoint>
      extended by org.jenkinsci.plugins.extremenotification.NotificationEndpoint
          extended by org.jenkinsci.plugins.extremenotification.WebHookNotificationEndpoint
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<NotificationEndpoint>

@Extension
public class WebHookNotificationEndpoint
extends NotificationEndpoint


Nested Class Summary
static class WebHookNotificationEndpoint.DescriptorImpl
           
static class WebHookNotificationEndpoint.WebHookEndpointEventCustom
           
 
Nested classes/interfaces inherited from class org.jenkinsci.plugins.extremenotification.NotificationEndpoint
NotificationEndpoint.EndpointEvent, NotificationEndpoint.EndpointEventCustom
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
WebHookNotificationEndpoint()
           
WebHookNotificationEndpoint(String url, long timeout)
           
 
Method Summary
 long getTimeout()
           
 String getUrl()
           
 void notify(MyPlugin.Event event)
           
 void notify(MyPlugin.Event event, NotificationEndpoint.EndpointEvent endpointEvent)
           
 void setTimeout(long timeout)
           
 void setUrl(String url)
           
 
Methods inherited from class org.jenkinsci.plugins.extremenotification.NotificationEndpoint
all, getEvents, interpolate, interpolate
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebHookNotificationEndpoint

public WebHookNotificationEndpoint()

WebHookNotificationEndpoint

@DataBoundConstructor
public WebHookNotificationEndpoint(String url,
                                                        long timeout)
Method Detail

getUrl

public String getUrl()

setUrl

public void setUrl(String url)

getTimeout

public long getTimeout()

setTimeout

public void setTimeout(long timeout)

notify

public void notify(MyPlugin.Event event)
Specified by:
notify in class NotificationEndpoint

notify

public void notify(MyPlugin.Event event,
                   NotificationEndpoint.EndpointEvent endpointEvent)
Specified by:
notify in class NotificationEndpoint


Copyright © 2004-2015. All Rights Reserved.