|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Resource | |
|---|---|
| hudson.maven | Maven support. |
| hudson.model | Core object model that are bound to URLs via stapler, rooted at Hudson. |
| Uses of Resource in hudson.maven |
|---|
| Methods in hudson.maven that return Resource | |
|---|---|
Resource |
MavenModule.getWorkspaceResource()
Deprecated. as of 1.319 in AbstractProject. |
| Uses of Resource in hudson.model |
|---|
| Fields in hudson.model declared as Resource | |
|---|---|
Resource |
Resource.parent
Parent resource. |
| Methods in hudson.model that return Resource | |
|---|---|
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
|
| Methods in hudson.model with parameters of type Resource | |
|---|---|
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. |
| Constructors in hudson.model with parameters of type Resource | |
|---|---|
Resource(Resource parent,
String displayName)
|
|
Resource(Resource parent,
String displayName,
int numConcurrentWrite)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||