public abstract class PropertyListener<J extends hudson.model.JobProperty>
extends hudson.model.listeners.ItemListener
Jobs with a given JobProperty.| Constructor and Description |
|---|
PropertyListener(Class<J> propertyType) |
| Modifier and Type | Method and Description |
|---|---|
static <J extends hudson.model.JobProperty> |
getProperty(hudson.model.Item item,
Class<J> propertyType) |
void |
onCopied(hudson.model.Item src,
hudson.model.Item item) |
void |
onCopiedProperty(hudson.model.Job src,
hudson.model.Job item,
J property) |
void |
onCreated(hudson.model.Item item) |
void |
onCreatedProperty(hudson.model.Job item,
J property) |
void |
onDeleted(hudson.model.Item item) |
void |
onDeletedProperty(hudson.model.Job item,
J property) |
void |
onLocationChanged(hudson.model.Item item,
String oldFullName,
String newFullName) |
void |
onLocationChangedProperty(hudson.model.Job item,
String oldFullName,
String newFullName,
J property) |
void |
onRenamed(hudson.model.Item item,
String oldName,
String newName) |
void |
onRenamedProperty(hudson.model.Job item,
String oldName,
String newName,
J property) |
void |
onUpdated(hudson.model.Item item) |
void |
onUpdatedProperty(hudson.model.Job item,
J property) |
public final void onCreated(hudson.model.Item item)
onCreated in class hudson.model.listeners.ItemListenerpublic void onCreatedProperty(hudson.model.Job item,
J property)
throws Exception
ExceptionItemListener.onCreated(Item)public final void onCopied(hudson.model.Item src,
hudson.model.Item item)
onCopied in class hudson.model.listeners.ItemListenerpublic void onCopiedProperty(hudson.model.Job src,
hudson.model.Job item,
J property)
throws Exception
ExceptionItemListener.onCopied(Item, Item)public final void onDeleted(hudson.model.Item item)
onDeleted in class hudson.model.listeners.ItemListenerpublic void onDeletedProperty(hudson.model.Job item,
J property)
throws Exception
ExceptionItemListener.onDeleted(Item)public final void onRenamed(hudson.model.Item item,
String oldName,
String newName)
onRenamed in class hudson.model.listeners.ItemListenerpublic void onRenamedProperty(hudson.model.Job item,
String oldName,
String newName,
J property)
throws Exception
ExceptionItemListener.onRenamed(Item, String, String)public final void onLocationChanged(hudson.model.Item item,
String oldFullName,
String newFullName)
onLocationChanged in class hudson.model.listeners.ItemListenerpublic void onLocationChangedProperty(hudson.model.Job item,
String oldFullName,
String newFullName,
J property)
throws Exception
ExceptionItemListener.onLocationChanged(Item, String, String)public final void onUpdated(hudson.model.Item item)
onUpdated in class hudson.model.listeners.ItemListenerpublic void onUpdatedProperty(hudson.model.Job item,
J property)
throws Exception
ExceptionItemListener.onUpdated(Item)public static <J extends hudson.model.JobProperty> J getProperty(hudson.model.Item item,
Class<J> propertyType)
item - A job of some kindpropertyType - The property to look forCopyright © 2016. All rights reserved.