org.jenkinsci.plugins.extremenotification
Class LoggingNotificationEndpoint

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

@Extension
public class LoggingNotificationEndpoint
extends NotificationEndpoint


Nested Class Summary
static class LoggingNotificationEndpoint.DescriptorImpl
           
 
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
LoggingNotificationEndpoint()
           
LoggingNotificationEndpoint(String loggerName, String levelName)
           
 
Method Summary
 String getLevelName()
           
 String getLoggerName()
           
 void notify(MyPlugin.Event event)
           
 void notify(MyPlugin.Event event, NotificationEndpoint.EndpointEvent endpointEvent)
           
 void setLevelName(String levelName)
           
 void setLoggerName(String logger)
           
 
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

LoggingNotificationEndpoint

public LoggingNotificationEndpoint()

LoggingNotificationEndpoint

@DataBoundConstructor
public LoggingNotificationEndpoint(String loggerName,
                                                        String levelName)
Method Detail

getLoggerName

public String getLoggerName()

setLoggerName

public void setLoggerName(String logger)

getLevelName

public String getLevelName()

setLevelName

public void setLevelName(String levelName)

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.