public interface

Ref

implements MinimalRef
com.atlassian.bitbucket.repository.Ref
Known Indirect Subclasses

Class Overview

Common abstraction between reference types like branches and tags.

Summary

Public Methods
@Nonnull String getLatestCommit()
The ID of the commit at the tip of this ref.
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.repository.MinimalRef

Public Methods

@Nonnull public String getLatestCommit ()

The ID of the commit at the tip of this ref.

Returns
  • the tip commit's ID