Package | Description |
---|---|
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
Modifier and Type | Field and Description |
---|---|
Resource |
Resource.parent
Parent resource.
|
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceList.getConflict(ResourceList that)
Returns the resource in this list that's colliding with the given resource list.
|
Resource |
ResourceController.getMissingResource(ResourceList resources)
Of the resource in the given resource list, return the one that's
currently in use.
|
Resource |
AbstractProject.getWorkspaceResource()
Deprecated.
as of 1.319
Projects no longer have a fixed workspace, ands builds will find an available workspace via
WorkspaceList for each build (furthermore, that happens after a build is started.)
So a Resource representation for a workspace at the project level no longer makes sense.
If you need to lock a workspace while you do some computation, see the source code of
|
Modifier and Type | Method and Description |
---|---|
boolean |
Resource.isCollidingWith(Resource that,
int count)
Checks the resource collision.
|
ResourceList |
ResourceList.r(Resource r)
Adds a resource for read access.
|
ResourceList |
ResourceList.w(Resource r)
Adds a resource for write access.
|
Constructor and Description |
---|
Resource(Resource parent,
String displayName) |
Resource(Resource parent,
String displayName,
int numConcurrentWrite) |
Copyright © 2014. All rights reserved.