Interface BitbucketRepository

All Known Implementing Classes:
BitbucketCloudRepository, BitbucketServerRepository

public interface BitbucketRepository
Represents a Bitbucket repository.
  • Method Details

    • getScm

      Deprecated.
      no longer a choice
      Returns:
      the scm type (git)
    • getFullName

      String getFullName()
      Returns:
      full repository name, which is owner/name (where owner could be a user, a team or a project)
    • getProject

      BitbucketProject getProject()
      Returns:
      the project containing the repository
    • getOwner

      Returns:
      repository owner (could be a user, a team or a project)
    • getOwnerName

      String getOwnerName()
      Returns:
      getOwner()'s name
    • getRepositoryName

      String getRepositoryName()
      Returns:
      the repository name (as extracted from getFullName())
    • isPrivate

      boolean isPrivate()
      Returns:
      return true if the repository is a private one (false otherwise).
    • isArchived

      boolean isArchived()
      Is the repository marked as archived. Bitbucket 8.0 introduced the ability to "Archive" a repository which makes the repository read-only and distinguishable from "Active" repositories.
      Returns:
      true if the repository is marked as archived, false otherwise
    • getLinks

      Gets the links for this repository.
      Returns:
      the links for this repository.