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

public NavBuilder.RepoAttachments attachments ()

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

public NavBuilder.ListBranches branches ()

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

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

public NavBuilder.ListCommits commits ()

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

public NavBuilder.Compare compare ()

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

public NavBuilder.CreatePullRequest createPullRequest ()

public NavBuilder.RepoDelete delete ()

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

public NavBuilder.RepoFork fork ()

public NavBuilder.RepoHooks hooks ()

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

public NavBuilder.RepoPermissions permissions ()

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

public NavBuilder.PullRequest pullRequest (long id)

public NavBuilder.ListPullRequests pullRequests ()

public NavBuilder.RepoSettings settings ()

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

public NavBuilder.ListTags tags ()

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