Uses of Class
jenkins.scm.api.trait.SCMTrait
Packages that use 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
Methods in jenkins.scm.api that return types with arguments of type SCMTraitModifier 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
.Method parameters in jenkins.scm.api with type arguments of type SCMTrait -
Uses of SCMTrait in jenkins.scm.api.trait
Classes in jenkins.scm.api.trait with type parameters of type SCMTraitModifier and TypeClassDescriptionclass
Base class for common traits.class
SCMTraitDescriptor<T extends SCMTrait<T>>
Abstract base class forDescriptor
ofSCMTrait
implementations.Subclasses of SCMTrait in jenkins.scm.api.traitModifier 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
.Methods in jenkins.scm.api.trait with type parameters of type SCMTraitModifier 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.Methods in jenkins.scm.api.trait with parameters of type SCMTraitModifier 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
.Method parameters in jenkins.scm.api.trait with type arguments of type SCMTraitModifier 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
Subclasses of SCMTrait in jenkins.scm.impl.traitModifier 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.