Class BranchDiscoveryTrait.OnlyOriginPRBranchesSCMHeadFilter

java.lang.Object
jenkins.scm.api.trait.SCMHeadFilter
com.cloudbees.jenkins.plugins.bitbucket.BranchDiscoveryTrait.OnlyOriginPRBranchesSCMHeadFilter
Enclosing class:
BranchDiscoveryTrait

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

    • OnlyOriginPRBranchesSCMHeadFilter

      public OnlyOriginPRBranchesSCMHeadFilter()
  • 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