Class BitbucketPullRequestCommit

java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.client.pullrequest.BitbucketPullRequestCommit
All Implemented Interfaces:
BitbucketCommit

public class BitbucketPullRequestCommit extends Object implements BitbucketCommit
  • Constructor Details

    • BitbucketPullRequestCommit

      public BitbucketPullRequestCommit()
  • Method Details

    • getHash

      public String getHash()
      Specified by:
      getHash in interface BitbucketCommit
      Returns:
      the commit hash (complete, not reduced)
    • setHash

      public void setHash(String hash)
    • 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)
    • getMessage

      public String getMessage()
      Specified by:
      getMessage in interface BitbucketCommit
      Returns:
      commit message
    • setMessage

      public void setMessage(String message)
    • getDate

      public String getDate()
      Specified by:
      getDate in interface BitbucketCommit
      Returns:
      the commit date in ISO format
    • setDate

      public void setDate(Date date)
    • getDateMillis

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