java.lang.Object
io.jenkins.blueocean.blueocean_bitbucket_pipeline.model.BbBranch
Direct Known Subclasses:
BbCloudBranch, BbServerBranch

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public abstract class BbBranch extends Object
Bitbucket Branch
Author:
Vivek Pandey
  • Constructor Details

    • BbBranch

      public BbBranch()
  • Method Details

    • getLatestCommit

      public abstract String getLatestCommit()
      Returns:
      latest commit id
    • isDefault

      public abstract boolean isDefault()
      Returns:
      True if it's default branch, false otherwise
    • getDisplayId

      public abstract String getDisplayId()
      Returns:
      Branch display identifier