public class GitTagSCMHead extends jenkins.scm.api.SCMHead implements jenkins.scm.api.mixin.TagSCMHead
jenkins.scm.api.SCMHead.HeadByItemjenkins.scm.api.mixin.SCMHeadMixin.EqualityPRONOUN| Constructor and Description |
|---|
GitTagSCMHead(String name,
long timestamp)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getTimestamp() |
compareTo, equals, getAction, getAllActions, getName, getOrigin, getPronoun, hashCode, toStringpublic GitTagSCMHead(@NonNull
String name,
long timestamp)
name - the name.timestamp - the timestamp of the tag, for lightweight tags this should be the last commit, for annotated
tags this should be the tag date.public long getTimestamp()
getTimestamp in interface jenkins.scm.api.mixin.TagSCMHeadCopyright © 2007–2021. All rights reserved.