Package hudson.model

Class Job.LastItemListener

    • Constructor Detail

      • LastItemListener

        public LastItemListener()
    • Method Detail

      • onCopied

        public void onCopied​(Item src,
                             Item item)
        Description copied from class: ItemListener
        Called after a new job is created by copying from an existing job. For backward compatibility, the default implementation of this method calls ItemListener.onCreated(Item). If you choose to handle this method, think about whether you want to call super.onCopied or not.
        Overrides:
        onCopied in class ItemListener
        Parameters:
        src - The source item that the new one was copied from. Never null.
        item - The newly created item. Never null.