Package jenkins.scm.impl.trait
Class RegexSCMSourceFilterTrait
java.lang.Object
hudson.model.AbstractDescribableImpl<T>
jenkins.scm.api.trait.SCMTrait<SCMNavigatorTrait>
jenkins.scm.api.trait.SCMNavigatorTrait
jenkins.scm.impl.trait.RegexSCMSourceFilterTrait
- All Implemented Interfaces:
ExtensionPoint
,Describable<SCMNavigatorTrait>
Decorates a
SCMNavigator
with a SCMSourcePrefilter
that excludes projects with names that do not
match a user supplied regular expression.- Since:
- 2.2.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Our descriptor.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
decorateContext
(SCMNavigatorContext<?, ?> context) SPI: Override this method to decorate aSCMNavigatorContext
.getRegex()
Gets the regular expression.Methods inherited from class jenkins.scm.api.trait.SCMNavigatorTrait
_for, _for, all, applyToBuilder, applyToContext, applyToObserver, decorateBuilder, decorateObserver, getDescriptor, includeCategory, isCategoryEnabled
-
Constructor Details
-
RegexSCMSourceFilterTrait
Stapler constructor.- Parameters:
regex
- the regular expression.
-
-
Method Details
-
getRegex
Gets the regular expression.- Returns:
- the regular expression.
-