public abstract class PropertyListener<J extends hudson.model.JobProperty>
extends hudson.model.listeners.ItemListener
Jobs with a given JobProperty.| Constructor and Description |
|---|
PropertyListener(java.lang.Class<J> propertyType) |
| Modifier and Type | Method and Description |
|---|---|
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,
java.lang.String oldFullName,
java.lang.String newFullName) |
void |
onLocationChangedProperty(hudson.model.Job item,
java.lang.String oldFullName,
java.lang.String newFullName,
J property) |
void |
onRenamed(hudson.model.Item item,
java.lang.String oldName,
java.lang.String newName) |
void |
onRenamedProperty(hudson.model.Job item,
java.lang.String oldName,
java.lang.String newName,
J property) |
void |
onUpdated(hudson.model.Item item) |
void |
onUpdatedProperty(hudson.model.Job item,
J property) |
public PropertyListener(java.lang.Class<J> propertyType)
public final void onCreated(hudson.model.Item item)
onCreated in class hudson.model.listeners.ItemListenerpublic void onCreatedProperty(hudson.model.Job item,
J property)
throws java.lang.Exception
java.lang.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 java.lang.Exception
java.lang.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 java.lang.Exception
java.lang.ExceptionItemListener.onDeleted(Item)public final void onRenamed(hudson.model.Item item,
java.lang.String oldName,
java.lang.String newName)
onRenamed in class hudson.model.listeners.ItemListenerpublic void onRenamedProperty(hudson.model.Job item,
java.lang.String oldName,
java.lang.String newName,
J property)
throws java.lang.Exception
java.lang.ExceptionItemListener.onRenamed(Item, String, String)public final void onLocationChanged(hudson.model.Item item,
java.lang.String oldFullName,
java.lang.String newFullName)
onLocationChanged in class hudson.model.listeners.ItemListenerpublic void onLocationChangedProperty(hudson.model.Job item,
java.lang.String oldFullName,
java.lang.String newFullName,
J property)
throws java.lang.Exception
java.lang.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 java.lang.Exception
java.lang.ExceptionItemListener.onUpdated(Item)