Uses of Class
jenkins.scm.api.trait.SCMTrait
Package
Description
The public API contract of the SCM API plugin.
An API/SPI to allow the sharing of common traits between different
SCMSource
and
SCMNavigator
implementations.-
Uses of SCMTrait in jenkins.scm.api
Modifier and TypeMethodDescriptionSCMNavigator.getTraits()
Gets the traits for this navigator.SCMNavigator.getTraits()
Gets the traits for this navigator.SCMNavigatorDescriptor.getTraitsDefaults()
Returns the default traits for thisSCMSource
.SCMNavigatorDescriptor.getTraitsDefaults()
Returns the default traits for thisSCMSource
. -
Uses of SCMTrait in jenkins.scm.api.trait
Modifier and TypeClassDescriptionclass
Base class for common traits.class
SCMTraitDescriptor<T extends SCMTrait<T>>
Abstract base class forDescriptor
ofSCMTrait
implementations.Modifier and TypeClassDescriptionclass
Represents a trait of behaviour or configuration that can be applied to aSCMSource
.class
Represents a trait of behaviour or configuration that can be applied to aSCMSource
.Modifier and TypeMethodDescriptionConverts the supplied list ofSCMTrait
instances into a list where there is at most one instance of each trait.Converts the supplied instance and list ofSCMTrait
instances into a list where there is at most one instance of each trait.static <T extends SCMTrait<?>>
TFinds the trait of the required type.Modifier and TypeMethodDescriptionfinal C
SCMNavigatorContext.withTraits
(SCMTrait<? extends SCMTrait<?>>... traits) Adds / applies the suppliedSCMTrait
.final B
SCMSourceBuilder.withTraits
(SCMTrait<? extends SCMTrait<?>>... traits) Apply theSCMTrait
instances to thisSCMSourceBuilder
.Modifier and TypeMethodDescriptionfinal C
SCMNavigatorContext.withTraits
(Collection<? extends SCMTrait<?>> traits) Adds / applies the suppliedSCMTrait
.SCMSourceBuilder.withTraits
(Collection<? extends SCMTrait<?>> traits) Apply theSCMTrait
instances to thisSCMSourceBuilder
. -
Uses of SCMTrait in jenkins.scm.impl.trait
Modifier and TypeClassDescriptionclass
Decorates aSCMSource
with aSCMHeadPrefilter
that excludesSCMHead
instances with names that do not match a user supplied regular expression.class
Decorates aSCMNavigator
with aSCMSourcePrefilter
that excludes projects with names that do not match a user supplied regular expression.class
Decorates aSCMSource
with aSCMHeadPrefilter
that filtersSCMHead
instances based on matching wildcard include/exclude rules.class
Decorates aSCMNavigator
with aSCMSourcePrefilter
that filters project names based on matching wildcard include/exclude rules.