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
  • Constructor Details

    • CopyListener

      public CopyListener()
  • Method Details

    • onCopied

      public void onCopied(Item src, Item item)
      Copy promotion definitions from existing job.
      Overrides:
      onCopied in class ItemListener