public static interface NavBuilder.Commit extends NavBuilder.PathBuilder<NavBuilder.Commit>
| Modifier and Type | Method and Description |
|---|---|
NavBuilder.Commit |
change(Path path)
Adds an anchor for the specified path, producing a URL like /projects/PROJ/repos/repo/commits/ID#path.
|
NavBuilder.Commit |
change(String path)
Adds an anchor for the specified path, producing a URL like /projects/PROJ/repos/repo/commits/ID#path.
|
NavBuilder.CommitComment |
comment(long commentId)
Retrieves a builder for interacting with the specified comment on this commit.
|
NavBuilder.Commit |
unwatch()
Adds an
unwatch query parameter to the URL for this commit. |
path, pathbuildAbsolute, buildConfigured, buildRelative, buildRelNoContext, withParam@Nonnull NavBuilder.Commit change(@Nonnull Path path)
path - the path to set in the anchorthis@Nonnull NavBuilder.Commit change(@Nonnull String path)
path - the path to set in the anchorthis@Nonnull NavBuilder.CommitComment comment(long commentId)
commentId - the ID of the comment to build URLs for@Nonnull NavBuilder.Commit unwatch()
unwatch query parameter to the URL for this commit.thisCopyright © 2019 Atlassian. All rights reserved.