public static interface

NavBuilder.Repo

implements NavBuilder.Builder<B extends Builder>
com.atlassian.bitbucket.nav.NavBuilder.Repo

Class Overview

The builder of urls hanging off /projects/PROJ/repos/REPO. The url built by this builder, if not further developed, is the same as BrowseRepo

Public Methods

@Nonnull public NavBuilder.RepoArchive archive ()

Returns
  • a builder for URLs to download archives of a repository

@Nonnull public NavBuilder.RepoAttachments attachments ()

Returns
  • a builder for urls of the form /projects/PROJ/repos/REPO/attachments[/...]

@Nonnull public NavBuilder.ListBranches branches ()

Returns
  • a builder for urls of the form /projects/PROJ/repos/REPO/branches

@Nonnull public NavBuilder.BrowseRepoResource browse ()

Returns
  • a builder for urls of the form /projects/PROJ/repos/REPO/browse[/...]

@Nonnull public NavBuilder.Commit commit (String commitId)

Parameters
commitId the commit ID to build URLs for
Returns
  • a builder for URLs of the form /projects/PROJ/repos/REPO/commits/ID

@Nonnull public NavBuilder.ListCommits commits ()

Returns
  • a builder for urls of the form /projects/PROJ/repos/REPO/commits

@Nonnull public NavBuilder.Compare compare ()

Returns
  • a builder for urls of the form /projects/PROJ/repos/REPO/compare

@Nonnull public NavBuilder.CreatePullRequest createPullRequest ()

@Nonnull public NavBuilder.RepoDelete delete ()

Returns
  • a builder for urls of the form /projects/PROJ/repos/REPO

@Nonnull public NavBuilder.RepoFork fork ()

@Nonnull public NavBuilder.ListForks forks ()

Returns
  • a builder for urls of the form /projects/PROJ/repos/REPO/forks

@Nonnull public NavBuilder.RepoHooks hooks ()

Returns
  • a builder for urls of the form /projects/PROJ/repos/REPO/settings/hooks

@Nonnull public NavBuilder.RepoMergeChecks mergeChecks ()

Returns
  • a builder for urls of the form /projects/PROJ/repos/REPO/settings/merge-checks

@Nonnull public NavBuilder.RepoPermissions permissions ()

Returns
  • a builder for urls of the form /projects/PROJ/repos/REPO/permissions

@Nonnull public NavBuilder.PullRequest pullRequest (long id)

@Nonnull public NavBuilder.ListPullRequests pullRequests ()

@Nonnull public NavBuilder.RepoSettings settings ()

Returns
  • a builder for urls of the form /projects/PROJ/repos/REPO/settings

@Nonnull public NavBuilder.ListTags tags ()

Returns
  • a builder for urls of the form /projects/PROJ/repos/REPO/tags