@Extension
public class JobConfigHistoryJobListener
extends hudson.model.listeners.ItemListener
| Constructor and Description |
|---|
JobConfigHistoryJobListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCreated(hudson.model.Item item) |
void |
onDeleted(hudson.model.Item item) |
void |
onRenamed(hudson.model.Item item,
String oldName,
String newName)
Also checks if we have history stored under the old name.
|
public void onCreated(hudson.model.Item item)
onCreated in class hudson.model.listeners.ItemListenerpublic void onRenamed(hudson.model.Item item,
String oldName,
String newName)
Also checks if we have history stored under the old name. If so, copies all history to the folder for new name, and deletes the old history folder.
onRenamed in class hudson.model.listeners.ItemListenerpublic void onDeleted(hudson.model.Item item)
onDeleted in class hudson.model.listeners.ItemListenerCopyright © 2004–2014. All rights reserved.