org.jenkinsci.plugins.extremenotification
Class NotificationEndpoint

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

public abstract class NotificationEndpoint
extends hudson.model.AbstractDescribableImpl<NotificationEndpoint>
implements hudson.ExtensionPoint


Nested Class Summary
static class NotificationEndpoint.DescriptorImpl
           
static class NotificationEndpoint.EndpointEvent
           
static interface NotificationEndpoint.EndpointEventCustom
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
NotificationEndpoint()
           
 
Method Summary
static hudson.DescriptorExtensionList<NotificationEndpoint,hudson.model.Descriptor<NotificationEndpoint>> all()
           
 Map<String,NotificationEndpoint.EndpointEvent> getEvents()
           
protected  String interpolate(String value, MyPlugin.Event event)
           
protected  String interpolate(String value, MyPlugin.Event event, Map<String,Object> extraArgs)
           
abstract  void notify(MyPlugin.Event event)
           
abstract  void notify(MyPlugin.Event event, NotificationEndpoint.EndpointEvent endpointEvent)
           
 
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

NotificationEndpoint

public NotificationEndpoint()
Method Detail

all

public static hudson.DescriptorExtensionList<NotificationEndpoint,hudson.model.Descriptor<NotificationEndpoint>> all()

notify

public abstract void notify(MyPlugin.Event event)

notify

public abstract void notify(MyPlugin.Event event,
                            NotificationEndpoint.EndpointEvent endpointEvent)

getEvents

public Map<String,NotificationEndpoint.EndpointEvent> getEvents()

interpolate

protected String interpolate(String value,
                             MyPlugin.Event event)

interpolate

protected String interpolate(String value,
                             MyPlugin.Event event,
                             Map<String,Object> extraArgs)


Copyright © 2004-2015. All Rights Reserved.