Package jenkins.scm.impl.trait
Class WildcardSCMSourceFilterTrait
java.lang.Object
hudson.model.AbstractDescribableImpl<T>
jenkins.scm.api.trait.SCMTrait<SCMNavigatorTrait>
jenkins.scm.api.trait.SCMNavigatorTrait
jenkins.scm.impl.trait.WildcardSCMSourceFilterTrait
- All Implemented Interfaces:
ExtensionPoint,Describable<SCMNavigatorTrait>
Decorates a
SCMNavigator with a SCMSourcePrefilter that filters project names based on
matching wildcard include/exclude rules.- Since:
- 2.2.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classOur descriptor.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionWildcardSCMSourceFilterTrait(String includes, String excludes) Stapler constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddecorateContext(SCMNavigatorContext<?, ?> context) SPI: Override this method to decorate aSCMNavigatorContext.Returns the exclude rules.Returns the include rules.Methods inherited from class jenkins.scm.api.trait.SCMNavigatorTrait
_for, _for, all, applyToBuilder, applyToContext, applyToObserver, decorateBuilder, decorateObserver, getDescriptor, includeCategory, isCategoryEnabled
-
Constructor Details
-
WildcardSCMSourceFilterTrait
Stapler constructor.- Parameters:
includes- the include rules.excludes- the exclude rules.
-
-
Method Details
-
getIncludes
Returns the include rules.- Returns:
- the include rules.
-
getExcludes
Returns the exclude rules.- Returns:
- the exclude rules.
-