Package hudson.plugins.promoted_builds
Class CopyListener
- java.lang.Object
-
- hudson.model.listeners.ItemListener
-
- hudson.plugins.promoted_builds.CopyListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class CopyListener extends ItemListener
When a job is copied, copy over promotion definitions as well.- Author:
- Alan.Harder@Sun.com
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description CopyListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCopied(Item src, Item item)
Copy promotion definitions from existing job.-
Methods inherited from class hudson.model.listeners.ItemListener
all, checkBeforeCopy, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onBeforeShutdown, onCheckCopy, onCreated, onDeleted, onLoaded, onLocationChanged, onRenamed, onUpdated, register
-
-
-
-
Method Detail
-
onCopied
public void onCopied(Item src, Item item)
Copy promotion definitions from existing job.- Overrides:
onCopied
in classItemListener
-
-