Uses of Class
hudson.model.Resource
-
Packages that use Resource Package Description hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
. -
-
Uses of Resource in hudson.model
Fields in hudson.model declared as Resource Modifier and Type Field Description Resource
Resource. parent
Parent resource.Methods in hudson.model that return Resource Modifier and Type Method 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 viaWorkspaceList
for each build (furthermore, that happens after a build is started.) So aResource
representation for a workspace at the project level no longer makes sense.Methods in hudson.model with parameters of type Resource Modifier and Type Method 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.Constructors in hudson.model with parameters of type Resource Constructor Description Resource(Resource parent, String displayName)
Resource(Resource parent, String displayName, int numConcurrentWrite)
-