@Extension(ordinal=-1.7976931348623157E308) public static class Job.LastItemListener extends ItemListener
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
LastItemListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCopied(Item src,
Item item)
Called after a new job is created by copying from an existing job.
|
all, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onBeforeShutdown, onCreated, onDeleted, onLoaded, onLocationChanged, onRenamed, onUpdated, registerpublic void onCopied(Item src, Item item)
ItemListenerItemListener.onCreated(Item).
If you choose to handle this method, think about whether you want to call super.onCopied or not.onCopied in class ItemListenersrc - The source item that the new one was copied from. Never null.item - The newly created item. Never null.Copyright © 2019. All rights reserved.