Package jenkins.plugins.git
Class GitSCMSourceRequest
java.lang.Object
jenkins.scm.api.trait.SCMSourceRequest
jenkins.plugins.git.GitSCMSourceRequest
- All Implemented Interfaces:
Closeable,AutoCloseable
public class GitSCMSourceRequest
extends jenkins.scm.api.trait.SCMSourceRequest
The
SCMSourceRequest base class for AbstractGitSCMSource.- Since:
- 3.4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.scm.api.trait.SCMSourceRequest
jenkins.scm.api.trait.SCMSourceRequest.IntermediateLambda<I extends Object>, jenkins.scm.api.trait.SCMSourceRequest.LazyRevisionLambda<H extends jenkins.scm.api.SCMHead,R extends jenkins.scm.api.SCMRevision, I extends Object>, jenkins.scm.api.trait.SCMSourceRequest.ProbeLambda<H extends jenkins.scm.api.SCMHead, I extends Object>, 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 Summary
ConstructorsConstructorDescriptionGitSCMSourceRequest(jenkins.scm.api.SCMSource source, GitSCMSourceContext<?, ?> context, TaskListener listener) Constructor. -
Method Summary
Methods inherited from class jenkins.scm.api.trait.SCMSourceRequest
close, getCriteria, isComplete, isExcluded, isTrusted, listener, manage, process, process, process
-
Constructor Details
-
GitSCMSourceRequest
public GitSCMSourceRequest(@NonNull jenkins.scm.api.SCMSource source, @NonNull GitSCMSourceContext<?, ?> context, TaskListener listener) Constructor.- Parameters:
source- the source.context- the context.listener- the (optional)TaskListener.
-
-
Method Details
-
gitTool
Returns the name of theGitToolto use ornullto use the default.- Returns:
- the name of the
GitToolto use ornullto use the default.
-
remoteName
Returns the name to give the remote.- Returns:
- the name to give the remote.
-
refSpecs
Returns the list ofRefSpecinstances to use.- Returns:
- the list of
RefSpecinstances to use.
-