Package | Description |
---|---|
com.atlassian.bitbucket.concurrent | |
com.atlassian.bitbucket.user | |
com.atlassian.bitbucket.util |
Modifier and Type | Method and Description |
---|---|
<T,E extends Exception> |
PullRequestLock.withLock(int repositoryId,
long pullRequestId,
Operation<T,E> operation)
Performs the provided
operation while holding a lock on the specified pull request . |
<T,E extends Exception> |
RepositoryLock.withLock(int repositoryId,
Operation<T,E> operation)
Performs the provided
operation while holding a lock on the specified repository . |
<T,E extends Exception> |
PullRequestLock.withLock(PullRequest pullRequest,
Operation<T,E> operation)
Performs the provided
operation while holding a lock on the specified pull request . |
<T,E extends Exception> |
RepositoryLock.withLock(Repository repository,
Operation<T,E> operation)
Performs the provided
operation while holding a lock on the specified repository . |
Modifier and Type | Method and Description |
---|---|
<T,E extends Throwable> |
EscalatedSecurityContext.call(Operation<T,E> operation)
Executes an Operation as the specified user and added permissions.
|
Modifier and Type | Interface and Description |
---|---|
interface |
UncheckedOperation<T>
Convenience version of
Operation that does not define a checked exception on its interface. |
Copyright © 2019 Atlassian. All rights reserved.