public abstract static class WorkspaceList.Lease extends Object
Modifier | Constructor and Description |
---|---|
protected |
Lease(FilePath path) |
Modifier and Type | Method and Description |
---|---|
static WorkspaceList.Lease |
createDummyLease(FilePath p)
Creates a dummy
WorkspaceList.Lease object that does no-op in the release. |
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. |
abstract void |
release()
Releases this lease.
|
public abstract void release()
public static WorkspaceList.Lease createDummyLease(@Nonnull FilePath p)
WorkspaceList.Lease
object that does no-op in the release.public static WorkspaceList.Lease createLinkedDummyLease(@Nonnull FilePath p, WorkspaceList.Lease parent)
WorkspaceList.Lease
object that points to the specified path, but the lock
is controlled by the given parent lease object.Copyright © 2014. All rights reserved.