| com.atlassian.stash.repository.Tag |
Class Overview
A Ref denoting a tag in the repository.
Summary
| Public Methods |
|
String
|
getHash()
The hash for the tag itself.
|
|
[Expand]
Inherited Methods |
From interface
com.atlassian.stash.repository.MinimalRef
|
@Nonnull
String
|
getDisplayId()
An identifier for this reference suitable for display to end users.
|
|
@Nonnull
String
|
getId()
The absolute identifier of this reference, which should never be ambiguous within the backing Repository.
|
|
From interface
com.atlassian.stash.repository.Ref
|
@Deprecated
@Nonnull
String
|
getLatestChangeset()
This method is deprecated.
in 3.7 for removal in 5.0. All things "changeset" are being renamed to "commit", the more common term
for the data they represent. Due to the significant number of touchpoints, the deprecated classes and
interfaces will be left in for an entire major release cycle, rather than being removed in 4.0.
Callers should use getLatestCommit() instead.
|
|
@Nonnull
String
|
getLatestCommit()
The ID of the commit at the tip of this 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.