public class GitRefSCMHead extends jenkins.scm.api.SCMHead implements GitSCMHeadMixin
jenkins.scm.api.SCMHead.HeadByItemjenkins.scm.api.mixin.SCMHeadMixin.EqualityPRONOUN| Constructor and Description |
|---|
GitRefSCMHead(String name)
Constructor where ref and name are the same.
|
GitRefSCMHead(String name,
String ref)
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 GitRefSCMHead(@NonNull
String name,
@NonNull
String ref)
name - the name of the ref.ref - the ref.public GitRefSCMHead(@NonNull
String name)
name - the name (and the ref).public String getRef()
GitSCMHeadMixingetRef in interface GitSCMHeadMixinpublic String toString()
toString in class jenkins.scm.api.SCMHeadCopyright © 2007–2021. All rights reserved.