Package hudson.scm
Class IntegrityItemListenerImpl
java.lang.Object
hudson.model.listeners.ItemListener
hudson.scm.IntegrityItemListenerImpl
- All Implemented Interfaces:
hudson.ExtensionPoint
@Extension
public class IntegrityItemListenerImpl
extends hudson.model.listeners.ItemListener
This class implements the onCopied event when a Job is copied from another Job The sole purpose
is to ensure that the Configuration Name parameter is unique. In addition, this is also used to
clean up Integrity SCM cache tables when a Job is purged.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.model.listeners.ItemListener
all, checkBeforeCopy, checkBeforeDelete, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onBeforeShutdown, onCheckCopy, onCheckDelete, onCreated, onLoaded, onLocationChanged, onRenamed, onUpdated, register
-
Constructor Details
-
IntegrityItemListenerImpl
@DataBoundConstructor public IntegrityItemListenerImpl()
-
-
Method Details
-
onCopied
public void onCopied(hudson.model.Item src, hudson.model.Item tgt) This overridden event ensures the Integrity CM's Configuration Name parameter is unique- Overrides:
onCopiedin classhudson.model.listeners.ItemListener
-
onDeleted
public void onDeleted(hudson.model.Item item) Cleans up the Integrity SCM plugin database's cache tables, if appropriate- Overrides:
onDeletedin classhudson.model.listeners.ItemListener
-