com.tikal.jenkins.plugins.multijob
Class Plugin.RenameListener

java.lang.Object
  extended by hudson.model.listeners.ItemListener
      extended by com.tikal.jenkins.plugins.multijob.Plugin.RenameListener
All Implemented Interfaces:
hudson.ExtensionPoint
Enclosing class:
Plugin

@Extension
public static final class Plugin.RenameListener
extends hudson.model.listeners.ItemListener

If a job is renamed, update all multiJob-jobs with the new name.


Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
Plugin.RenameListener()
           
 
Method Summary
 void onDeleted(hudson.model.Item deletedItem)
           
 void onRenamed(hudson.model.Item renamedItem, String oldName, String newName)
           
 
Methods inherited from class hudson.model.listeners.ItemListener
all, fireOnCopied, fireOnCreated, fireOnUpdated, onBeforeShutdown, onCopied, onCreated, onLoaded, onUpdated, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plugin.RenameListener

public Plugin.RenameListener()
Method Detail

onRenamed

public void onRenamed(hudson.model.Item renamedItem,
                      String oldName,
                      String newName)
Overrides:
onRenamed in class hudson.model.listeners.ItemListener

onDeleted

public void onDeleted(hudson.model.Item deletedItem)
Overrides:
onDeleted in class hudson.model.listeners.ItemListener


Copyright © 2004-2012. All Rights Reserved.