org.jenkinsci.plugins
Class WatcherItemListener
java.lang.Object
hudson.model.listeners.ItemListener
org.jenkinsci.plugins.WatcherItemListener
- All Implemented Interfaces:
- hudson.ExtensionPoint
@Extension
public class WatcherItemListener
- extends hudson.model.listeners.ItemListener
Notify whenever Job configuration changes.
Sends email do the list of recipients on following events: onRenamed,
onUpdated and onDeleted.
- Author:
- ogondza
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class hudson.model.listeners.ItemListener |
all, fireOnCopied, fireOnCreated, fireOnUpdated, onBeforeShutdown, onCopied, onCreated, onLoaded, register |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WatcherItemListener
public WatcherItemListener()
WatcherItemListener
public WatcherItemListener(MailWatcherMailer mailer,
String jenkinsRootUrl)
onRenamed
public void onRenamed(hudson.model.Item item,
String oldName,
String newName)
- Overrides:
onRenamed in class hudson.model.listeners.ItemListener
onUpdated
public void onUpdated(hudson.model.Item item)
- Overrides:
onUpdated in class hudson.model.listeners.ItemListener
onDeleted
public void onDeleted(hudson.model.Item item)
- Overrides:
onDeleted in class hudson.model.listeners.ItemListener
Copyright © 2004-2012. All Rights Reserved.