Class SimpleRepositoryRef
java.lang.Object
com.atlassian.bitbucket.repository.SimpleMinimalRef
com.atlassian.bitbucket.repository.SimpleMinimalRepositoryRef
com.atlassian.bitbucket.repository.SimpleRepositoryRef
- All Implemented Interfaces:
MinimalRef
,MinimalRepositoryRef
,Ref
,RepositoryRef
Basic implementation of
RepositoryRef
- Since:
- 5.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bitbucket.repository.SimpleMinimalRepositoryRef
SimpleMinimalRepositoryRef.AbstractBuilder<B extends SimpleMinimalRepositoryRef.AbstractBuilder<B,
R>, R extends MinimalRepositoryRef> Nested classes/interfaces inherited from class com.atlassian.bitbucket.repository.SimpleMinimalRef
SimpleMinimalRef.AbstractMinimalRefBuilder<B extends SimpleMinimalRef.AbstractMinimalRefBuilder<B,
R>, R extends MinimalRef> -
Method Summary
Methods inherited from class com.atlassian.bitbucket.repository.SimpleMinimalRepositoryRef
getRepository
Methods inherited from class com.atlassian.bitbucket.repository.SimpleMinimalRef
equals, fieldsToString, getDisplayId, getId, getType, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.bitbucket.repository.MinimalRef
getDisplayId, getId, getType
Methods inherited from interface com.atlassian.bitbucket.repository.MinimalRepositoryRef
getRepository
-
Method Details
-
getLatestCommit
Description copied from interface:Ref
TheID
of the commit at the tip of this ref.- Specified by:
getLatestCommit
in interfaceRef
- Returns:
- the tip commit's ID
-