Class TeamSlugTrait
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.TeamSlugTrait
- All Implemented Interfaces:
- ExtensionPoint,- Describable<jenkins.scm.api.trait.SCMNavigatorTrait>
public class TeamSlugTrait
extends jenkins.scm.api.trait.SCMNavigatorTrait
Decorates a 
SCMNavigatorContext with a GitHub team slug which will allow restricting the
 discovery of repositories by specific teams- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voiddecorateContext(jenkins.scm.api.trait.SCMNavigatorContext<?, ?> context) Returns the teamSlug.Methods inherited from class jenkins.scm.api.trait.SCMNavigatorTrait_for, _for, all, applyToBuilder, applyToContext, applyToObserver, decorateBuilder, decorateObserver, getDescriptor, includeCategory, isCategoryEnabledMethods inherited from class jenkins.scm.api.trait.SCMTraitasSetList, asSetList, find
- 
Constructor Details- 
TeamSlugTraitStapler constructor.- Parameters:
- teamSlug- the team slug to use when searching for github repos restricted to a specific team only.
 
 
- 
- 
Method Details- 
getTeamSlugReturns the teamSlug.- Returns:
- the teamSlug.
 
 
-