hudson.slaves
Class WorkspaceList.Lease
java.lang.Object
hudson.slaves.WorkspaceList.Lease
- Enclosing class:
- WorkspaceList
public abstract static class WorkspaceList.Lease
- extends Object
Represents a leased workspace that needs to be returned later.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
path
public final FilePath path
WorkspaceList.Lease
protected WorkspaceList.Lease(FilePath path)
release
public abstract void release()
- Releases this lease.
createDummyLease
public static WorkspaceList.Lease createDummyLease(FilePath p)
- Creates a dummy
WorkspaceList.Lease
object that does no-op in the release.
createLinkedDummyLease
public static WorkspaceList.Lease createLinkedDummyLease(FilePath p,
WorkspaceList.Lease parent)
- Creates a
WorkspaceList.Lease
object that points to the specified path, but the lock
is controlled by the given parent lease object.
Copyright © 2004-2013. All Rights Reserved.