hudson.model
Class WorkspaceListener

java.lang.Object
  extended by 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
WorkspaceListener()
           
 
Method Summary
 void afterDelete(AbstractProject project)
          Called after a workspace is deleted successfully.
static ExtensionList<WorkspaceListener> all()
          All registered WorkspaceListeners.
 void beforeUse(AbstractBuild b, FilePath workspace, BuildListener listener)
          Called before a build uses a workspace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkspaceListener

public WorkspaceListener()
Method Detail

afterDelete

public void afterDelete(AbstractProject project)
Called after a workspace is deleted successfully.

Parameters:
project -

beforeUse

public void beforeUse(AbstractBuild b,
                      FilePath workspace,
                      BuildListener listener)
Called before a build uses a workspace. IE, before any SCM checkout.

Parameters:
r -
workspace -
listener -

all

public static ExtensionList<WorkspaceListener> all()
All registered WorkspaceListeners.



Copyright © 2004-2013. All Rights Reserved.