Class BranchDiscoveryTrait.ExcludeOriginPRBranchesSCMHeadFilter

java.lang.Object
jenkins.scm.api.trait.SCMHeadFilter
org.jenkinsci.plugins.github_branch_source.BranchDiscoveryTrait.ExcludeOriginPRBranchesSCMHeadFilter
Enclosing class:
BranchDiscoveryTrait

public static class BranchDiscoveryTrait.ExcludeOriginPRBranchesSCMHeadFilter extends jenkins.scm.api.trait.SCMHeadFilter
Filter that excludes branches that are also filed as a pull request.
  • Constructor Details

    • ExcludeOriginPRBranchesSCMHeadFilter

      public ExcludeOriginPRBranchesSCMHeadFilter()
  • Method Details

    • isExcluded

      public boolean isExcluded(@NonNull jenkins.scm.api.trait.SCMSourceRequest request, @NonNull jenkins.scm.api.SCMHead head)
      Specified by:
      isExcluded in class jenkins.scm.api.trait.SCMHeadFilter