Package com.atlassian.bitbucket.nav
Interface NavBuilder.Commit
- All Superinterfaces:
NavBuilder.Builder<NavBuilder.Commit>
,NavBuilder.PathBuilder<NavBuilder.Commit>
- Enclosing interface:
- NavBuilder
Builds URLs of the form /projects/PROJ/repos/REPO/commits/ID
-
Method Summary
Modifier and TypeMethodDescriptionAdds an anchor for the specified path, producing a URL like /projects/PROJ/repos/repo/commits/ID#path.Adds an anchor for the specified path, producing a URL like /projects/PROJ/repos/repo/commits/ID#path.comment
(long commentId) Retrieves a builder for interacting with the specified comment on this commit.unwatch()
Adds anunwatch
query parameter to the URL for this commit.Methods inherited from interface com.atlassian.bitbucket.nav.NavBuilder.Builder
buildAbsolute, buildConfigured, buildRelative, buildRelNoContext, withParam
Methods inherited from interface com.atlassian.bitbucket.nav.NavBuilder.PathBuilder
path, path
-
Method Details
-
change
Adds an anchor for the specified path, producing a URL like /projects/PROJ/repos/repo/commits/ID#path.- Parameters:
path
- the path to set in the anchor- Returns:
this
-
change
Adds an anchor for the specified path, producing a URL like /projects/PROJ/repos/repo/commits/ID#path.- Parameters:
path
- the path to set in the anchor- Returns:
this
-
comment
Retrieves a builder for interacting with the specified comment on this commit.- Parameters:
commentId
- the ID of the comment to build URLs for- Returns:
- a comment URL builder
-
unwatch
Adds anunwatch
query parameter to the URL for this commit.- Returns:
this
-