public abstract class PropertyListener<J extends hudson.model.JobProperty>
extends hudson.model.listeners.ItemListener
Job
s 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.ItemListener
public void onCreatedProperty(hudson.model.Job item, J property) throws java.lang.Exception
java.lang.Exception
ItemListener.onCreated(Item)
public final void onCopied(hudson.model.Item src, hudson.model.Item item)
onCopied
in class hudson.model.listeners.ItemListener
public void onCopiedProperty(hudson.model.Job src, hudson.model.Job item, J property) throws java.lang.Exception
java.lang.Exception
ItemListener.onCopied(Item, Item)
public final void onDeleted(hudson.model.Item item)
onDeleted
in class hudson.model.listeners.ItemListener
public void onDeletedProperty(hudson.model.Job item, J property) throws java.lang.Exception
java.lang.Exception
ItemListener.onDeleted(Item)
public final void onRenamed(hudson.model.Item item, java.lang.String oldName, java.lang.String newName)
onRenamed
in class hudson.model.listeners.ItemListener
public void onRenamedProperty(hudson.model.Job item, java.lang.String oldName, java.lang.String newName, J property) throws java.lang.Exception
java.lang.Exception
ItemListener.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.ItemListener
public void onLocationChangedProperty(hudson.model.Job item, java.lang.String oldFullName, java.lang.String newFullName, J property) throws java.lang.Exception
java.lang.Exception
ItemListener.onLocationChanged(Item, String, String)
public final void onUpdated(hudson.model.Item item)
onUpdated
in class hudson.model.listeners.ItemListener
public void onUpdatedProperty(hudson.model.Job item, J property) throws java.lang.Exception
java.lang.Exception
ItemListener.onUpdated(Item)