Class Plugin.RenameListener
- java.lang.Object
-
- hudson.model.listeners.ItemListener
-
- hudson.plugins.parameterizedtrigger.Plugin.RenameListener
-
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- Plugin
@Extension public static final class Plugin.RenameListener extends ItemListener
If a job is renamed, update all parameterized-triggers with the new name.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description RenameListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onDeleted(Item item)
void
onRenamed(Item item, String oldName, String newName)
-
Methods inherited from class hudson.model.listeners.ItemListener
all, checkBeforeCopy, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onBeforeShutdown, onCheckCopy, onCopied, onCreated, onLoaded, onLocationChanged, onUpdated, register
-
-
-
-
Method Detail
-
onRenamed
public void onRenamed(Item item, String oldName, String newName)
- Overrides:
onRenamed
in classItemListener
-
onDeleted
public void onDeleted(Item item)
- Overrides:
onDeleted
in classItemListener
-
-