Package hudson.model

Class Job.LastItemListener

java.lang.Object
hudson.model.listeners.ItemListener
hudson.model.Job.LastItemListener
All Implemented Interfaces:
ExtensionPoint
Enclosing class:
Job<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT>>

@Extension(ordinal=-1.7976931348623157E308) public static class Job.LastItemListener extends ItemListener
  • Constructor Details

    • LastItemListener

      public LastItemListener()
  • Method Details

    • 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.