| com.atlassian.stash.repository.Branch |
Class Overview
A Ref denoting a branch in the repository.
Summary
| 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
|
@Nonnull
String
|
getDisplayId()
An identifier for this reference suitable for display to end users.
|
|
@Nonnull
String
|
getId()
The absolute identifier of this reference, which should never be ambiguous within the backing Repository.
|
|
From interface
com.atlassian.stash.repository.Ref
|
@Deprecated
@Nonnull
String
|
getLatestChangeset()
This method is deprecated.
in 3.7 for removal in 5.0. All things "changeset" are being renamed to "commit", the more common term
for the data they represent. Due to the significant number of touchpoints, the deprecated classes and
interfaces will be left in for an entire major release cycle, rather than being removed in 4.0.
Callers should use getLatestCommit() instead.
|
|
@Nonnull
String
|
getLatestCommit()
The ID of the commit at the tip of this 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