Class BranchSCMHead
java.lang.Object
jenkins.scm.api.SCMHead
com.cloudbees.jenkins.plugins.bitbucket.BranchSCMHead
- All Implemented Interfaces:
Serializable
,Comparable<jenkins.scm.api.SCMHead>
,jenkins.scm.api.mixin.SCMHeadMixin
public class BranchSCMHead
extends jenkins.scm.api.SCMHead
SCMHead
for a Bitbucket branch.- Since:
- 2.0.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
Modifier and TypeMethodDescriptionGets the repository type.Methods inherited from class jenkins.scm.api.SCMHead
compareTo, equals, getAction, getAllActions, getName, getOrigin, hashCode, toString
-
Constructor Details
-
BranchSCMHead
Constructor.- Parameters:
branchName
- the branch name
-
-
Method Details
-
getRepositoryType
Gets the repository type.- Returns:
- the repository type or
null
if this is a legacy branch instance.
-
getPronoun
- Overrides:
getPronoun
in classjenkins.scm.api.SCMHead
-