Class PublicRepoPullRequestFilterTrait

java.lang.Object
hudson.model.AbstractDescribableImpl<T>
jenkins.scm.api.trait.SCMTrait<jenkins.scm.api.trait.SCMSourceTrait>
jenkins.scm.api.trait.SCMSourceTrait
com.cloudbees.jenkins.plugins.bitbucket.PublicRepoPullRequestFilterTrait
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.scm.api.trait.SCMSourceTrait>

public class PublicRepoPullRequestFilterTrait extends jenkins.scm.api.trait.SCMSourceTrait
A SCMSourceTrait that suppresses all pull requests if the repository is public.
Since:
2.2.0
  • Constructor Details

    • PublicRepoPullRequestFilterTrait

      @DataBoundConstructor public PublicRepoPullRequestFilterTrait()
      Constructor.
  • Method Details

    • decorateContext

      protected void decorateContext(jenkins.scm.api.trait.SCMSourceContext<?,?> context)
      Overrides:
      decorateContext in class jenkins.scm.api.trait.SCMSourceTrait