|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.listeners.ItemListener
hudson.plugins.templateproject.ItemListenerImpl
@Extension public class ItemListenerImpl
This ItemListener implementation will force job using
template for publisher to regenerate the transient actions list.
To do so we use the UpdateTransientProperty property which does not do
anything. This is a bit a hack that relies on the behavior, but
there does not seem to be any better way to force updating projects transients actions.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
ItemListenerImpl()
|
|
| Method Summary | ||
|---|---|---|
|
hasBuilder(hudson.model.AbstractProject<?,?> project,
java.lang.Class<T> type)
|
|
void |
onLoaded()
Let's force the projects using either the ProxyPublisher or the ProxyBuilder to update their transient actions. |
|
| Methods inherited from class hudson.model.listeners.ItemListener |
|---|
all, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onBeforeShutdown, onCopied, onCreated, onDeleted, onLocationChanged, onRenamed, onUpdated, register |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ItemListenerImpl()
| Method Detail |
|---|
public void onLoaded()
onLoaded in class hudson.model.listeners.ItemListener
public <T> boolean hasBuilder(hudson.model.AbstractProject<?,?> project,
java.lang.Class<T> type)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||