public class GitSCMSourceRequest extends jenkins.scm.api.trait.SCMSourceRequest
SCMSourceRequest base class for AbstractGitSCMSource.jenkins.scm.api.trait.SCMSourceRequest.IntermediateLambda<I>, jenkins.scm.api.trait.SCMSourceRequest.LazyRevisionLambda<H extends jenkins.scm.api.SCMHead,R extends jenkins.scm.api.SCMRevision,I>, jenkins.scm.api.trait.SCMSourceRequest.ProbeLambda<H extends jenkins.scm.api.SCMHead,I>, jenkins.scm.api.trait.SCMSourceRequest.RevisionLambda<H extends jenkins.scm.api.SCMHead,R extends jenkins.scm.api.SCMRevision>, jenkins.scm.api.trait.SCMSourceRequest.Witness<H extends jenkins.scm.api.SCMHead,R extends jenkins.scm.api.SCMRevision>| Constructor and Description |
|---|
GitSCMSourceRequest(jenkins.scm.api.SCMSource source,
GitSCMSourceContext<?,?> context,
TaskListener listener)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
gitTool()
Returns the name of the
GitTool to use or null to use the default. |
List<org.eclipse.jgit.transport.RefSpec> |
refSpecs()
Returns the list of
RefSpec instances to use. |
String |
remoteName()
Returns the name to give the remote.
|
close, getCriteria, isComplete, isExcluded, isTrusted, listener, manage, process, process, processpublic GitSCMSourceRequest(@NonNull
jenkins.scm.api.SCMSource source,
@NonNull
GitSCMSourceContext<?,?> context,
TaskListener listener)
source - the source.context - the context.listener - the (optional) TaskListener.@CheckForNull public final String gitTool()
GitTool to use or null to use the default.GitTool to use or null to use the default.@NonNull public final String remoteName()
@NonNull public final List<org.eclipse.jgit.transport.RefSpec> refSpecs()
RefSpec instances to use.RefSpec instances to use.Copyright © 2007–2020. All rights reserved.