Class BitbucketCloudBranch

java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.client.branch.BitbucketCloudBranch
All Implemented Interfaces:
BitbucketBranch

public class BitbucketCloudBranch extends Object implements BitbucketBranch
  • Constructor Details

  • Method Details

    • getRawNode

      public String getRawNode()
      Specified by:
      getRawNode in interface BitbucketBranch
      Returns:
      the head commit node of this branch
    • setDateMillis

      public void setDateMillis(long dateInMillis)
    • setRawNode

      public void setRawNode(String hash)
    • getName

      public String getName()
      Specified by:
      getName in interface BitbucketBranch
      Returns:
      the branch name
    • getDateMillis

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

      public boolean isActive()
    • 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 authorName)
    • setCommitClosure

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