Package jenkins.branch
Class WorkspaceLocatorImpl.Deleter
java.lang.Object
hudson.model.listeners.ItemListener
jenkins.branch.WorkspaceLocatorImpl.Deleter
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- WorkspaceLocatorImpl
Cleans up workspace when an orphaned project is deleted.
Also moves workspace when it is renamed or moved.
- See Also:
-
- "JENKINS-2111"
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
onLocationChanged
(Item item, String oldFullName, String newFullName) void
Methods inherited from class hudson.model.listeners.ItemListener
all, checkBeforeCopy, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onBeforeShutdown, onCheckCopy, onCopied, onCreated, onLoaded, onRenamed, onUpdated, register
-
Constructor Details
-
Deleter
public Deleter()
-
-
Method Details
-
onDeleted
- Overrides:
onDeleted
in classItemListener
-
onLocationChanged
- Overrides:
onLocationChanged
in classItemListener
-
acquireThread
- Throws:
InterruptedException
-
releaseThread
public void releaseThread()
-