Interface NavBuilder.Project

All Superinterfaces:
NavBuilder.Builder<NavBuilder.Project>
Enclosing interface:
NavBuilder

public static interface NavBuilder.Project extends NavBuilder.Builder<NavBuilder.Project>
The builder for urls hanging off /projects/PROJ. The url path built by this builder, if not further developed, is the same as ListRepos
  • Method Details

    • avatar

      NavBuilder.Builder<?> avatar(int size)
    • hooks

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

      Returns:
      a builder for urls of the form /projects/PROJ/settings/merge-checks
    • 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
    • repo

      NavBuilder.Repo repo(@Nonnull String slug)
      Parameters:
      slug - the repository slug
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO[/...]
    • repo

      NavBuilder.Repo repo(@Nonnull Repository repository)
      Parameters:
      repository - the repository
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO[/...]
    • createRepo

      NavBuilder.CreateRepo createRepo()
      Returns:
      a builder for urls of the form /projects/PROJ/repos?create
    • settings

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

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

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

      Returns:
      a builder of urls of the form /project/PROJ/settings/secret-scanning
      Since:
      8.5