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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GitTagSCMHead(String name, long timestamp)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getTimestamp()
-
-
-
Constructor Detail
-
GitTagSCMHead
public GitTagSCMHead(@NonNull String name, long timestamp)
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.
-
-