Interface BitbucketRepository

  • All Known Implementing Classes:
    BitbucketClientRepository

    public interface BitbucketRepository
    Repository on Bitbucket Cloud. A Bitbucket Cloud repository is owned by an account.
    Since:
    5.0
    Author:
    Kaz Nishimura
    • Method Detail

      • getSCM

        String getSCM()
        Returns the SCM type of the repository. The return value shall be either #GIT or #HG.
        Returns:
        the SCM type of the repository
      • getOwner

        BitbucketAccount getOwner()
        Returns the owner of the repository.
        Returns:
        the owner of the repository
      • getName

        String getName()
        Returns the name of the repository.
        Returns:
        the name of the repository
      • getFullName

        String getFullName()
        Returns the full name of the repository.
        Returns:
        the full name of the repository
      • getUUID

        UUID getUUID()
        Returns the UUID of the repository.
        Returns:
        the UUID of the repository
      • getDescription

        String getDescription()
        Returns the description of the repository.
        Returns:
        the description of the repository
      • isPrivate

        boolean isPrivate()
        Returns true if and only if the repository is private.
        Returns:
        true if and only if the repository is private
      • getMainBranch

        BitbucketBranch getMainBranch()
        Returns the main branch of the repository.
        Returns:
        the main branch of the repository
      • hasIssueTracker

        boolean hasIssueTracker()
        Returns true if and only if the repository has a issue tracker.
        Returns:
        true if and only if the repository has a issue tracker
      • hasWiki

        boolean hasWiki()
        Returns true if and only if the repository has a wiki.
        Returns:
        true if and only if the repository has a wiki
      • getSize

        long getSize()
        Returns the size of the repository.
        Returns:
        the size of the repository
      • getCreated

        Instant getCreated()
        Returns the time when the repository was created.
        Returns:
        the time when the repository was created
      • getUpdated

        Instant getUpdated()
        Returns the time when the repository was last updated.
        Returns:
        the time when the repository was last updated
      • getIssueTracker

        BitbucketIssueTracker getIssueTracker()
        Returns the issue tracker of the repository.
        Returns:
        the issue tracker of the repository