Interface Tag

All Superinterfaces:
MinimalRef, Ref

public interface Tag extends Ref
A Ref denoting a tag in the repository.
  • Method Summary

    Modifier and Type
    Method
    Description
    The hash for the tag itself.

    Methods inherited from interface com.atlassian.bitbucket.repository.MinimalRef

    getDisplayId, getId, getType

    Methods inherited from interface com.atlassian.bitbucket.repository.Ref

    getLatestCommit
  • Method Details

    • getHash

      @Nullable String getHash()
      The hash for the tag itself. Where Ref.getLatestCommit() returns the hash of the tagged element, this property provides the hash for the tag.
      Returns:
      the tag's hash