@Extension
public class ItemChangeListener
extends hudson.model.listeners.ItemListener
Constructor and Description |
---|
ItemChangeListener() |
Modifier and Type | Method and Description |
---|---|
void |
doCreateJob(hudson.model.Item item) |
void |
onCopied(hudson.model.Item src,
hudson.model.Item item) |
void |
onCreated(hudson.model.Item item) |
void |
onDeleted(hudson.model.Item item) |
void |
onLocationChanged(hudson.model.Item item,
String oldFullName,
String newFullName) |
void |
onRenamed(hudson.model.Item item,
String oldName,
String newName) |
public void onRenamed(hudson.model.Item item, String oldName, String newName)
onRenamed
in class hudson.model.listeners.ItemListener
item
- Renamed itemoldName
- Old full name of itemnewName
- New full name of itempublic void onCopied(hudson.model.Item src, hudson.model.Item item)
onCopied
in class hudson.model.listeners.ItemListener
src
- Source Itemitem
- Item created by the use of sourcepublic void onDeleted(hudson.model.Item item)
onDeleted
in class hudson.model.listeners.ItemListener
item
- Deleted item Objectpublic void onCreated(hudson.model.Item item)
onCreated
in class hudson.model.listeners.ItemListener
item
- New item has been created nowpublic void onLocationChanged(hudson.model.Item item, String oldFullName, String newFullName)
onLocationChanged
in class hudson.model.listeners.ItemListener
item
- Relocated itemoldFullName
- Old full name of itemnewFullName
- New full name of itempublic void doCreateJob(hudson.model.Item item)
item
- Item need to create in sprints portalCopyright © 2016–2021. All rights reserved.