Interface NavBuilder.Repo

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

public static interface NavBuilder.Repo extends NavBuilder.Builder<NavBuilder.Repo>
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
  • Method Details

    • archive

      @Nonnull NavBuilder.RepoArchive archive()
      Returns:
      a builder for URLs to download archives of a repository
      Since:
      5.1
    • attachment

      @Nonnull NavBuilder.RepoAttachment attachment(@Nonnull String id)
      Specifically used for legacy attachments.
      Parameters:
      id - the attachment ID
      Returns:
      a builder for the URL of the form /projects/PROJ/repos/REPO/attachments/ID
      Since:
      7.0
    • attachment

      @Nonnull NavBuilder.RepoAttachment attachment(long id)
      Specifically used for modern attachments.
      Parameters:
      id - the attachment ID
      Returns:
      a builder for the URL of the form /projects/PROJ/repos/REPO/attachments/ID
      Since:
      7.0
    • browse

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

      @Nonnull NavBuilder.ListBranches branches()
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO/branches
    • builds

      @Nonnull NavBuilder.RepoBuilds builds()
      Returns:
      a builder for URls of the form /projects/PROJ/repos/REPO/builds
      Since:
      7.4
    • tags

      @Nonnull NavBuilder.ListTags tags()
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO/tags
    • commit

      @Nonnull NavBuilder.Commit commit(@Nonnull 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
    • commits

      @Nonnull NavBuilder.ListCommits commits()
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO/commits
    • compare

      @Nonnull NavBuilder.Compare compare()
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO/compare
    • forks

      @Nonnull NavBuilder.ListForks forks()
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO/forks
      Since:
      5.4
    • settings

      @Nonnull NavBuilder.RepoSettings settings()
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO/settings
    • hooks

      @Nonnull NavBuilder.RepoHooks hooks()
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO/settings/hooks
    • mergeChecks

      @Nonnull NavBuilder.RepoMergeChecks mergeChecks()
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO/settings/merge-checks
    • permissions

      @Nonnull NavBuilder.RepoPermissions permissions()
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO/permissions
    • delete

      @Nonnull NavBuilder.RepoDelete delete()
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO
    • fork

      @Nonnull NavBuilder.RepoFork fork()
    • pushLog

      @Nonnull NavBuilder.RepoPushLog pushLog()
      Returns:
      a builder for urls of the form /projects/PROJ/repos/REPO/push-log
      Since:
      7.1
    • createPullRequest

      @Nonnull NavBuilder.CreatePullRequest createPullRequest()
    • pullRequest

      @Nonnull NavBuilder.PullRequest pullRequest(long id)
    • pullRequests

      @Nonnull NavBuilder.ListPullRequests pullRequests()