public static interface NavBuilder.PullRequest extends NavBuilder.Builder<NavBuilder.PullRequest>
Modifier and Type | Method and Description |
---|---|
NavBuilder.PullRequestActivity |
activity(long activityId)
View the activities of the pull request.
|
NavBuilder.PullRequestBuilds |
builds()
View the builds for that pull request.
|
NavBuilder.PullRequestComment |
comment(long commentId)
View the comments added to the pull request.
|
NavBuilder.PullRequestCommit |
commit(String commitId)
View a specific commit within a pull request.
|
NavBuilder.PagedBuilder<?> |
commits()
View the commits to be merged by a pull request.
|
NavBuilder.Builder<?> |
diff()
View the pull request's diff.
|
NavBuilder.PullRequestOverview |
overview()
View the pull request's overview, which displays snippets for activities which have been performed on the
pull request as well its description.
|
NavBuilder.Builder<?> |
unreviewed()
View the pull request diff, and the unreviewed changes for the current user, if they exist.
|
NavBuilder.PagedBuilder<?> |
unwatch()
Remove the current user as a watcher for the pull request.
|
buildAbsolute, buildConfigured, buildRelative, buildRelNoContext, withParam
@Nonnull NavBuilder.PullRequestActivity activity(long activityId)
activityId
- The unique identifier of the activityNavBuilder.PullRequestActivity
a builder used to construct URLs for activities@Nonnull NavBuilder.PullRequestBuilds builds()
NavBuilder.PullRequestBuilds
builder used to construct URLs for builds@Nonnull NavBuilder.PullRequestComment comment(long commentId)
commentId
- The unique identifier of the commentNavBuilder.PullRequestComment
builder used to construct URLs for comments@Nonnull NavBuilder.PullRequestCommit commit(@Nonnull String commitId)
Unlike repository commits
, pull request commits must be specified by
ID
. Ref names like "master" do not make sense in this
context.
commitId
- the commit ID
to build URLs forNavBuilder.PagedBuilder<?> commits()
NavBuilder.Builder<?> diff()
NavBuilder.PullRequestOverview overview()
NavBuilder.Builder<?> unreviewed()
NavBuilder.PagedBuilder<?> unwatch()
Copyright © 2021 Atlassian. All rights reserved.