Package com.cloudbees.workflow.flownode
Class FlowNodeUtil.RenameHandler
- java.lang.Object
-
- hudson.model.listeners.ItemListener
-
- com.cloudbees.workflow.flownode.FlowNodeUtil.RenameHandler
-
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- FlowNodeUtil
@Extension public static class FlowNodeUtil.RenameHandler extends ItemListener
This is used to cover an obscure case where a WorkflowJob is renamed BUT a previous WorkflowJob existed with cached execution data. Otherwise the previous job's cached data would be returned.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description RenameHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onDeleted(Item item)
void
onLocationChanged(Item item, String oldFullName, String newFullName)
-
Methods inherited from class hudson.model.listeners.ItemListener
all, checkBeforeCopy, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onBeforeShutdown, onCheckCopy, onCopied, onCreated, onLoaded, onRenamed, onUpdated, register
-
-
-
-
Method Detail
-
onLocationChanged
public void onLocationChanged(Item item, String oldFullName, String newFullName)
- Overrides:
onLocationChanged
in classItemListener
-
onDeleted
public void onDeleted(Item item)
- Overrides:
onDeleted
in classItemListener
-
-