Package jenkins.branch
Class WorkspaceLocatorImpl.Collector
- java.lang.Object
-
- hudson.slaves.ComputerListener
-
- jenkins.branch.WorkspaceLocatorImpl.Collector
-
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- WorkspaceLocatorImpl
@Extension public static final class WorkspaceLocatorImpl.Collector extends ComputerListener
Cleans up workspaces for apparently missing jobs when a node goes online. This is a counterpart toWorkspaceLocatorImpl.Deleter
, which only deletes those workspaces of a job being deleted which happen to be online at the time.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description Collector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onOnline(Computer c, TaskListener listener)
-
Methods inherited from class hudson.slaves.ComputerListener
all, onConfigurationChange, onLaunchFailure, onOffline, onOffline, onOnline, onTemporarilyOffline, onTemporarilyOnline, preLaunch, preOnline, register, unregister
-
-
-
-
Method Detail
-
onOnline
public void onOnline(Computer c, TaskListener listener) throws IOException, InterruptedException
- Overrides:
onOnline
in classComputerListener
- Throws:
IOException
InterruptedException
-
-