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 Type
    Method
    Description
    Returns the head branch names of open PRs, or empty set if not yet populated.
    boolean
     
    boolean
     
    void
    Records the head branch names of open PRs found during this request.

    Methods inherited from class jenkins.plugins.git.GitSCMSourceRequest

    gitTool, refSpecs, remoteName

    Methods inherited from class jenkins.scm.api.trait.SCMSourceRequest

    close, getCriteria, isComplete, isExcluded, isTrusted, listener, manage, process, process, process

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • isFetchBranches

      public boolean isFetchBranches()
    • isFetchPRs

      public boolean isFetchPRs()
    • setPRHeadBranches

      public void setPRHeadBranches(Set<String> branches)
      Records the head branch names of open PRs found during this request.
    • getPRHeadBranches

      public Set<String> getPRHeadBranches()
      Returns the head branch names of open PRs, or empty set if not yet populated.