public interface

Branch

implements Ref
com.atlassian.stash.repository.Branch

Class Overview

A Ref denoting a branch in the repository.

Summary

[Expand]
Inherited Fields
From interface com.atlassian.stash.repository.MinimalRef
From interface com.atlassian.stash.repository.Ref
Public Methods
boolean getIsDefault()
Indicates whether this branch is the default branch for the repository.
[Expand]
Inherited Methods
From interface com.atlassian.stash.repository.MinimalRef
From interface com.atlassian.stash.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