Class DatabaseSyncItemListener
- java.lang.Object
-
- hudson.model.listeners.ItemListener
-
- org.jenkinsci.plugins.pipeline.maven.listeners.DatabaseSyncItemListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class DatabaseSyncItemListener extends ItemListener
Maintains the database in sync with the jobs and builds.- Author:
- Cyrille Le Clerc
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description DatabaseSyncItemListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onDeleted(Item item)
void
onLocationChanged(Item item, String oldFullName, String newFullName)
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, onUpdated, register
-
-
-
-
Method Detail
-
onDeleted
public void onDeleted(Item item)
- Overrides:
onDeleted
in classItemListener
-
onRenamed
public void onRenamed(Item item, String oldName, String newName)
- Overrides:
onRenamed
in classItemListener
-
onLocationChanged
public void onLocationChanged(Item item, String oldFullName, String newFullName)
- Overrides:
onLocationChanged
in classItemListener
-
-