public interface

Tag

implements Ref
com.atlassian.bitbucket.repository.Tag

Class Overview

A Ref denoting a tag in the repository.

Summary

Public Methods
@Nullable String getHash()
The hash for the tag itself.
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.repository.MinimalRef
From interface com.atlassian.bitbucket.repository.Ref

Public Methods

@Nullable public String getHash ()

The hash for the tag itself. Where getLatestCommit() returns the hash of the tagged element, this property provides the hash for the tag.

Returns
  • the tag's hash