public interface LockService
Modifier and Type | Method and Description |
---|---|
Lock |
getLock(String lockName)
Creates or retrieves a
Lock by name |
PullRequestLock |
getPullRequestLock(String lockName)
Creates or retrieves a
PullRequestLock by name |
RepositoryLock |
getRepositoryLock(String lockName)
Creates or retrieves a
RepositoryLock by name |
@Nonnull Lock getLock(@Nonnull String lockName)
Lock
by namelockName
- the name of the lock@Nonnull PullRequestLock getPullRequestLock(@Nonnull String lockName)
PullRequestLock
by namelockName
- the name of the lock@Nonnull RepositoryLock getRepositoryLock(@Nonnull String lockName)
RepositoryLock
by namelockName
- the name of the lockCopyright © 2022 Atlassian. All rights reserved.