public interface

Tag

implements Ref
com.atlassian.stash.repository.Tag

Class Overview

A Ref denoting a tag in the repository.

Summary

[Expand]
Inherited Fields
From interface com.atlassian.stash.repository.MinimalRef
From interface com.atlassian.stash.repository.Ref
Public Methods
@Nullable String getHash()
The hash for the tag itself.
[Expand]
Inherited Methods
From interface com.atlassian.stash.repository.MinimalRef
From interface com.atlassian.stash.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