Class BitbucketTagSCMHead
- java.lang.Object
-
- jenkins.scm.api.SCMHead
-
- jenkins.plugins.git.GitTagSCMHead
-
- com.cloudbees.jenkins.plugins.bitbucket.BitbucketTagSCMHead
-
- All Implemented Interfaces:
Serializable
,Comparable<jenkins.scm.api.SCMHead>
,jenkins.scm.api.mixin.SCMHeadMixin
,jenkins.scm.api.mixin.TagSCMHead
public class BitbucketTagSCMHead extends jenkins.plugins.git.GitTagSCMHead implements jenkins.scm.api.mixin.TagSCMHead
SCMHead
for a Bitbucket tags.- Since:
- 2.2.11
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BitbucketTagSCMHead(String tagName, long timestamp)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPronoun()
BitbucketRepositoryType
getRepositoryType()
Gets the repository type.-
Methods inherited from class jenkins.scm.api.SCMHead
compareTo, equals, getAction, getAllActions, getName, getOrigin, hashCode, toString
-
-
-
-
Constructor Detail
-
BitbucketTagSCMHead
public BitbucketTagSCMHead(@NonNull String tagName, long timestamp)
Constructor.- Parameters:
tagName
- the tag nametimestamp
- the timestamp of tag
-
-
Method Detail
-
getRepositoryType
@CheckForNull public BitbucketRepositoryType getRepositoryType()
Gets the repository type.- Returns:
- the repository type or
null
-
getPronoun
public String getPronoun()
- Overrides:
getPronoun
in classjenkins.scm.api.SCMHead
-
-