public class GitBranchSCMHead extends jenkins.scm.api.SCMHead implements GitSCMHeadMixin
| Modifier and Type | Class and Description |
|---|---|
static class |
GitBranchSCMHead.SCMHeadMigrationImpl |
jenkins.scm.api.SCMHead.HeadByItemjenkins.scm.api.mixin.SCMHeadMixin.EqualityPRONOUN| Constructor and Description |
|---|
GitBranchSCMHead(String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRef()
The ref, e.g.
|
String |
toString() |
compareTo, equals, getAction, getAllActions, getName, getOrigin, getPronoun, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetName, getOrigincompareTopublic GitBranchSCMHead(@NonNull
String name)
name - the name.public final String getRef()
GitSCMHeadMixingetRef in interface GitSCMHeadMixinpublic String toString()
toString in class jenkins.scm.api.SCMHeadCopyright © 2007–2021. All rights reserved.