Class ExcludePrivateRepositoriesTrait

java.lang.Object
hudson.model.AbstractDescribableImpl<T>
jenkins.scm.api.trait.SCMTrait<jenkins.scm.api.trait.SCMNavigatorTrait>
jenkins.scm.api.trait.SCMNavigatorTrait
org.jenkinsci.plugins.github_branch_source.ExcludePrivateRepositoriesTrait
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.scm.api.trait.SCMNavigatorTrait>

public class ExcludePrivateRepositoriesTrait extends jenkins.scm.api.trait.SCMNavigatorTrait
A Selection trait that will restrict the discovery of repositories that are private.
  • Constructor Details

    • ExcludePrivateRepositoriesTrait

      @DataBoundConstructor public ExcludePrivateRepositoriesTrait()
      Constructor for stapler.
  • Method Details

    • decorateContext

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