Class BitbucketServerBranch

    • Constructor Detail

      • BitbucketServerBranch

        public BitbucketServerBranch()
      • BitbucketServerBranch

        public BitbucketServerBranch​(String name,
                                     String headHash)
    • Method Detail

      • getTimestamp

        public long getTimestamp()
      • getDateMillis

        public long getDateMillis()
        Specified by:
        getDateMillis in interface BitbucketBranch
        Returns:
        the commit milliseconds from epoch
      • setDisplayId

        public void setDisplayId​(String displayId)
      • setLatestCommit

        public void setLatestCommit​(String latestCommit)
      • setName

        public void setName​(String displayId)
      • setRawNode

        public void setRawNode​(String latestCommit)
      • setTimestamp

        public void setTimestamp​(long timestamp)
      • setCommitClosure

        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public void setCommitClosure​(Callable<BitbucketCommit> commitClosure)
      • getMessage

        public String getMessage()
        Description copied from interface: BitbucketBranch
        Returns the head commit message for this branch.
        Specified by:
        getMessage in interface BitbucketBranch
        Returns:
        the head commit message of this branch
      • setMessage

        public void setMessage​(String message)
      • getAuthor

        public String getAuthor()
        Description copied from interface: BitbucketBranch
        Returns the head commit author for this branch.
        Specified by:
        getAuthor in interface BitbucketBranch
        Returns:
        the head commit author of this branch
      • setAuthor

        public void setAuthor​(String author)