public class BranchSCMHead extends jenkins.scm.api.SCMHead
SCMHead
for a Bitbucket branch.jenkins.scm.api.SCMHead.HeadByItem
jenkins.scm.api.mixin.SCMHeadMixin.Equality
PRONOUN
Constructor and Description |
---|
BranchSCMHead(String branchName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getPronoun() |
BitbucketRepositoryType |
getRepositoryType()
Gets the repository type.
|
compareTo, equals, getAction, getAllActions, getName, getOrigin, hashCode, toString
public BranchSCMHead(String branchName)
branchName
- the branch name@CheckForNull public BitbucketRepositoryType getRepositoryType()
null
if this is a legacy branch instance.public String getPronoun()
getPronoun
in class jenkins.scm.api.SCMHead
Copyright © 2016–2022. All rights reserved.