Class BitbucketCloudCommit

java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.client.branch.BitbucketCloudCommit
All Implemented Interfaces:
BitbucketCommit

public class BitbucketCloudCommit extends Object implements BitbucketCommit
  • Constructor Details

  • Method Details

    • getMessage

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

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

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

      public void setMessage(String message)
    • setDate

      public void setDate(String date)
    • setHash

      public void setHash(String hash)
    • getDateMillis

      public long getDateMillis()
      Specified by:
      getDateMillis in interface BitbucketCommit
      Returns:
      commit time in milliseconds (Java timestamp)
    • 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)