Package hudson.model
Class Job.LastItemListener
java.lang.Object
hudson.model.listeners.ItemListener
hudson.model.Job.LastItemListener
- All Implemented Interfaces:
ExtensionPoint
@Extension(ordinal=-1.7976931348623157E308)
public static class Job.LastItemListener
extends ItemListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
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, onDeleted, onLoaded, onLocationChanged, onRenamed, onUpdated, register
-
Constructor Details
-
LastItemListener
public LastItemListener()
-
-
Method Details
-
onCopied
Description copied from class:ItemListenerCalled after a new job is created by copying from an existing job. For backward compatibility, the default implementation of this method callsItemListener.onCreated(Item). If you choose to handle this method, think about whether you want to call super.onCopied or not.- Overrides:
onCopiedin classItemListener- Parameters:
src- The source item that the new one was copied from. Never null.item- The newly created item. Never null.
-