Uses of Class
org.jenkins.plugins.lockableresources.remote.RemoteLockRequest
Packages that use RemoteLockRequest
-
Uses of RemoteLockRequest in org.jenkins.plugins.lockableresources.remote
Methods in org.jenkins.plugins.lockableresources.remote that return RemoteLockRequestModifier and TypeMethodDescriptionstatic RemoteLockRequestBuilds aRemoteLockRequestfrom the DSL lock step.RemoteLockRecord.getLockRequest()RemoteQueueEntry.getLockRequest()Methods in org.jenkins.plugins.lockableresources.remote with parameters of type RemoteLockRequestModifier and TypeMethodDescriptionRemoteResolver.availableForRemote(List<LockableResourcesStruct> structs, RemoteLockRequest req) Resolves a remote request (given its canonicalstructs, fromRemoteResolver.toRemoteStructs(org.jenkins.plugins.lockableresources.remote.RemoteLockRequest)) through the canonicalLockableResourcesManager.getAvailableResources(java.util.List<org.jenkins.plugins.lockableresources.queue.LockableResourcesStruct>)path, applying the configuredexposeLabelset as the candidate-visibility filter (a resource is visible iff it carries any exposeLabel - OR).RemoteLockManager.enqueue(RemoteLockRequest lockRequest, String clientId) Enqueues a new remote acquire request.RemoteApiClient.enqueueAcquire(RemoteConnection remote, String authorizationHeader, RemoteLockRequest lockRequest, int heartbeatIntervalSeconds, String clientId) POST /acquire and return accepted lockId.RemoteResolver.toRemoteStructs(RemoteLockRequest req) Builds the canonicalLockableResourcesStructlist for a remote request, mirroringLockStep.getResources()(main selector + eachextraentry).RemoteResolver.validateRemoteSelectors(RemoteLockRequest req) Admission check for a remote request: every selector (the main one and eachextraentry) must reference something this remote client could actually lock - a resource that exists and is exposed, or a label with at least one exposed candidate.