public static interface

NavBuilder.Project

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

Class Overview

The builder for urls hanging off /projects/PROJ. The url path built by this builder, if not further developed, is the same as ListRepos

Public Methods

public Builder<?> avatar (int size)

public NavBuilder.CreateRepo createRepo ()

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

public NavBuilder.ProjectDelete delete ()

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

public NavBuilder.ProjectHooks hooks ()

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

public NavBuilder.ProjectMergeChecks mergeChecks ()

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

public NavBuilder.ProjectPermissions permissions ()

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

public NavBuilder.Repo repo (Repository repository)

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

public NavBuilder.Repo repo (String slug)

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

public NavBuilder.ListRepos repos ()

Returns
  • a builder for urls of the form /projects/PROJ - essentially the same as NavBuilder.Project but with support for start and limit params to control the repository list

public NavBuilder.ProjectSettings settings ()

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