| Package | Description |
|---|---|
| com.atlassian.bitbucket.event.pull | |
| com.atlassian.bitbucket.pull | |
| com.atlassian.bitbucket.pull.automerge |
| Modifier and Type | Method and Description |
|---|---|
AutoMergeCancelledReason |
PullRequestAutoMergeCancelledEvent.getReason() |
| Constructor and Description |
|---|
PullRequestAutoMergeCancelledEvent(Object source,
PullRequest pullRequest,
AutoMergeCancelledReason reason) |
| Modifier and Type | Method and Description |
|---|---|
static AutoMergeCancelledReason |
AutoMergeCancelledReason.fromId(int id) |
AutoMergeCancelledReason |
PullRequestAutoMergeCancelledActivity.getCancelledReason() |
static AutoMergeCancelledReason |
AutoMergeCancelledReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoMergeCancelledReason[] |
AutoMergeCancelledReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
PullRequest |
AutoMergeService.cancelAutoMerge(int repositoryId,
long pullRequestId,
AutoMergeCancelledReason cancelledReason)
Cancels the automatic merging of the pull request by the system with a provided reason, and logs the cancellation
as a
pull request activity. |
Copyright © 2023 Atlassian. All rights reserved.