Class RemoteResolver

java.lang.Object
org.jenkins.plugins.lockableresources.remote.RemoteResolver

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final class RemoteResolver extends Object
Server-side resolution for remote lock requests: the admission check (existence/exposure) and resolution through the canonical LockableResourcesManager.getAvailableResources(java.util.List<org.jenkins.plugins.lockableresources.queue.LockableResourcesStruct>) path - the same one local lock() uses, with the configured exposeLabel set as the candidate filter. The server never re-implements lock() semantics; this class only decides which resources a remote request may see and resolves them, then hands off to the manager.

A pure, stateless collaborator over the manager's public API. Every call must be made while holding LockableResourcesManager.syncResources - the caller acquires it; this class never takes the lock itself.