Uses of Class
org.jenkins.plugins.lockableresources.RemoteConnection
Packages that use RemoteConnection
Package
Description
-
Uses of RemoteConnection in org.jenkins.plugins.lockableresources
Methods in org.jenkins.plugins.lockableresources that return types with arguments of type RemoteConnectionModifier and TypeMethodDescriptionLockableResourcesManager.getRemotes()Returns a defensive copy of configured remote connections.LockableResourcesManager.getRemotesAsMap()Returns remote connections as a map keyed by serverId.Method parameters in org.jenkins.plugins.lockableresources with type arguments of type RemoteConnectionModifier and TypeMethodDescriptionvoidLockableResourcesManager.setRemotes(List<RemoteConnection> remotes) Set all remote connections. -
Uses of RemoteConnection in org.jenkins.plugins.lockableresources.remote
Methods in org.jenkins.plugins.lockableresources.remote that return RemoteConnectionModifier and TypeMethodDescriptionstatic RemoteConnectionRemoteLockRouting.findConnection(LockableResourcesManager lrm, String serverId) Looks up the configuredRemoteConnectionforserverId, or fails the build.Methods in org.jenkins.plugins.lockableresources.remote with parameters of type RemoteConnectionModifier and TypeMethodDescriptionstatic StringRemoteCredentials.basicAuthHeader(RemoteConnection remote, Run<?, ?> run) RemoteApiClient.enqueueAcquire(RemoteConnection remote, String authorizationHeader, RemoteLockRequest lockRequest, int heartbeatIntervalSeconds, String clientId) POST /acquire and return accepted lockId.RemoteApiClient.getAcquireStatus(RemoteConnection remote, String authorizationHeader, String lockId) GET /acquire/{requestId}.voidRemoteApiClient.heartbeatLease(RemoteConnection remote, String authorizationHeader, String lockId) POST /lease/{lockId}/heartbeat.voidRemoteApiClient.releaseLease(RemoteConnection remote, String authorizationHeader, String lockId) POST /lease/{lockId}/release.