Interface GitAnnotatedTag
- All Superinterfaces:
com.atlassian.bitbucket.repository.MinimalRef,com.atlassian.bitbucket.repository.Ref,com.atlassian.bitbucket.repository.Tag
public interface GitAnnotatedTag
extends com.atlassian.bitbucket.repository.Tag
An annotated tag
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptiongetHash()The hash for the tag itself.com.atlassian.bitbucket.user.PersonMethods inherited from interface com.atlassian.bitbucket.repository.MinimalRef
getDisplayId, getId, getTypeMethods inherited from interface com.atlassian.bitbucket.repository.Ref
getLatestCommit
-
Method Details
-
getHash
The hash for the tag itself. WhereRef.getLatestCommit()returns the hash of the tagged element, this property provides the hash for the tag.- Specified by:
getHashin interfacecom.atlassian.bitbucket.repository.Tag- Returns:
- the tag's hash
-
getMessage
- Returns:
- the tag message, if any
-
getTagger
@Nonnull com.atlassian.bitbucket.user.Person getTagger()- Returns:
- the person that created the tag
-
getTaggerTimestamp
- Returns:
- the timestamp when the tag was created, or
Optional.empty()when the timestamp cannot be determined - Since:
- 8.15
-