Class ExcludeForkedRepositoriesTrait

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.ExcludeForkedRepositoriesTrait
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.scm.api.trait.SCMNavigatorTrait>

public class ExcludeForkedRepositoriesTrait extends jenkins.scm.api.trait.SCMNavigatorTrait
A Selection trait that will restrict the discovery of repositories that have been forked.
  • Constructor Details

    • ExcludeForkedRepositoriesTrait

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

    • decorateContext

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