Package hudson.model
Class WorkspaceListener
- java.lang.Object
-
- hudson.model.WorkspaceListener
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class WorkspaceListener extends Object implements ExtensionPoint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description WorkspaceListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterDelete(AbstractProject project)
Called after a workspace is deleted successfully.static ExtensionList<WorkspaceListener>
all()
All registeredWorkspaceListener
s.void
beforeUse(AbstractBuild b, FilePath workspace, BuildListener listener)
Called before a build uses a workspace.
-
-
-
Method Detail
-
afterDelete
public void afterDelete(AbstractProject project)
Called after a workspace is deleted successfully.
-
beforeUse
public void beforeUse(AbstractBuild b, FilePath workspace, BuildListener listener)
Called before a build uses a workspace. IE, before any SCM checkout.
-
all
public static ExtensionList<WorkspaceListener> all()
All registeredWorkspaceListener
s.
-
-