Package jenkins.plugins.git
Class GitTagSCMHead
java.lang.Object
jenkins.scm.api.SCMHead
jenkins.plugins.git.GitTagSCMHead
- All Implemented Interfaces:
Serializable
,Comparable<jenkins.scm.api.SCMHead>
,jenkins.scm.api.mixin.SCMHeadMixin
,jenkins.scm.api.mixin.TagSCMHead
public class GitTagSCMHead
extends jenkins.scm.api.SCMHead
implements jenkins.scm.api.mixin.TagSCMHead
Represents a Git Tag.
- Since:
- 3.6.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.scm.api.SCMHead
jenkins.scm.api.SCMHead.HeadByItem
Nested classes/interfaces inherited from interface jenkins.scm.api.mixin.SCMHeadMixin
jenkins.scm.api.mixin.SCMHeadMixin.Equality
-
Field Summary
Fields inherited from class jenkins.scm.api.SCMHead
PRONOUN
-
Constructor Summary
-
Method Summary
Methods inherited from class jenkins.scm.api.SCMHead
compareTo, equals, getAction, getAllActions, getName, getOrigin, getPronoun, hashCode, toString
-
Constructor Details
-
GitTagSCMHead
Constructor.- Parameters:
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.
-
-
Method Details
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestamp
in interfacejenkins.scm.api.mixin.TagSCMHead
-