Interface Branch

All Superinterfaces:
MinimalRef, Ref

public interface Branch extends Ref
A Ref denoting a branch in the repository.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether this branch is the default branch for the repository.

    Methods inherited from interface com.atlassian.bitbucket.repository.MinimalRef

    getDisplayId, getId, getType

    Methods inherited from interface com.atlassian.bitbucket.repository.Ref

    getLatestCommit
  • Method Details

    • getIsDefault

      boolean getIsDefault()
      Indicates whether this branch is the default branch for the repository.
      Returns:
      true for the default branch; otherwise, false