public class

SimpleRepositoryRef

extends SimpleMinimalRepositoryRef
implements RepositoryRef
java.lang.Object
   ↳ com.atlassian.bitbucket.repository.SimpleMinimalRef
     ↳ com.atlassian.bitbucket.repository.SimpleMinimalRepositoryRef
       ↳ com.atlassian.bitbucket.repository.SimpleRepositoryRef

Class Overview

Basic implementation of RepositoryRef

Summary

Nested Classes
class SimpleRepositoryRef.Builder  
Public Methods
@Nonnull String getLatestCommit()
The ID of the commit at the tip of this ref.
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.repository.SimpleMinimalRepositoryRef
From class com.atlassian.bitbucket.repository.SimpleMinimalRef
From class java.lang.Object
From interface com.atlassian.bitbucket.repository.MinimalRef
From interface com.atlassian.bitbucket.repository.MinimalRepositoryRef
From interface com.atlassian.bitbucket.repository.Ref

Public Methods

@Nonnull public String getLatestCommit ()

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

Returns
  • the tip commit's ID