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
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

public String getHash ()

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

Returns
  • the tag's hash