Class OriginSCMSourceRequest
java.lang.Object
jenkins.scm.api.trait.SCMSourceRequest
jenkins.plugins.git.GitSCMSourceRequest
io.jenkins.plugins.cursor_origin_branch_source.OriginSCMSourceRequest
- All Implemented Interfaces:
Closeable,AutoCloseable
public class OriginSCMSourceRequest
extends jenkins.plugins.git.GitSCMSourceRequest
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.scm.api.trait.SCMSourceRequest
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> -
Method Summary
Modifier and TypeMethodDescriptionReturns the head branch names of open PRs, or empty set if not yet populated.booleanbooleanvoidsetPRHeadBranches(Set<String> branches) Records the head branch names of open PRs found during this request.Methods inherited from class jenkins.plugins.git.GitSCMSourceRequest
gitTool, refSpecs, remoteNameMethods inherited from class jenkins.scm.api.trait.SCMSourceRequest
close, getCriteria, isComplete, isExcluded, isTrusted, listener, manage, process, process, process
-
Method Details
-
isFetchBranches
public boolean isFetchBranches() -
isFetchPRs
public boolean isFetchPRs() -
setPRHeadBranches
Records the head branch names of open PRs found during this request. -
getPRHeadBranches
Returns the head branch names of open PRs, or empty set if not yet populated.
-