hudson.plugins.promoted_builds
Class CopyListener

java.lang.Object
  extended by hudson.model.listeners.ItemListener
      extended by hudson.plugins.promoted_builds.CopyListener
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class CopyListener
extends hudson.model.listeners.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
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
CopyListener()
           
 
Method Summary
 void onCopied(hudson.model.Item src, hudson.model.Item item)
          Copy promotion definitions from existing job.
 
Methods inherited from class hudson.model.listeners.ItemListener
all, onCreated, onDeleted, onLoaded, onRenamed, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyListener

public CopyListener()
Method Detail

onCopied

public void onCopied(hudson.model.Item src,
                     hudson.model.Item item)
Copy promotion definitions from existing job.

Overrides:
onCopied in class hudson.model.listeners.ItemListener


Copyright © 2010. All Rights Reserved.