public interface

Branch

implements Ref
com.atlassian.bitbucket.repository.Branch

Class Overview

A Ref denoting a branch in the repository.

Summary

[Expand]
Inherited Fields
From interface com.atlassian.bitbucket.repository.MinimalRef
From interface com.atlassian.bitbucket.repository.Ref
Public Methods
boolean getIsDefault()
Indicates whether this branch is the default branch for the repository.
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.repository.MinimalRef
From interface com.atlassian.bitbucket.repository.Ref

Public Methods

public boolean getIsDefault ()

Indicates whether this branch is the default branch for the repository.

Returns
  • true for the default branch; otherwise, false