Class BitbucketServerCommit

    • Constructor Detail

      • BitbucketServerCommit

        public BitbucketServerCommit​(@NonNull
                                     String message,
                                     @NonNull
                                     String hash,
                                     @NonNull
                                     long dateMillis,
                                     @Nullable
                                     BitbucketServerAuthor author)
      • BitbucketServerCommit

        public BitbucketServerCommit​(String message,
                                     String hash,
                                     long dateMillis,
                                     String author)
      • BitbucketServerCommit

        public BitbucketServerCommit​(String hash)
    • Method Detail

      • getDateMillis

        public long getDateMillis()
        Specified by:
        getDateMillis in interface BitbucketCommit
        Returns:
        commit time in milliseconds (Java timestamp)
      • setMessage

        public void setMessage​(String message)
      • setDate

        public void setDate​(String date)
      • setHash

        public void setHash​(String hash)
      • setDateMillis

        public void setDateMillis​(long dateMillis)
      • getAuthor

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

        public void setAuthor​(String author)