Uses of Class
jenkins.scm.api.trait.SCMSourceTrait
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 SCMSourceTrait in jenkins.scm.api
Modifier and TypeMethodDescriptionSCMSource.getTraits()
Gets the traits for this source.SCMSourceDescriptor.getTraitsDefaults()
Returns the default traits for thisSCMSource
.Modifier and TypeMethodDescriptionvoid
SCMSource.setTraits
(List<SCMSourceTrait> traits) Sets the traits for this source. -
Uses of SCMSourceTrait in jenkins.scm.api.trait
Modifier and TypeMethodDescriptionSCMSourceTrait.all()
Returns all theSCMSourceTraitDescriptor
instances.final List<SCMSourceTrait>
SCMNavigatorContext.traits()
Returns the (possibly empty) list ofSCMSourceTrait
instances to apply to discovered projects.final List<SCMSourceTrait>
SCMNavigatorRequest.traits()
Returns theSCMSourceTrait
instances to apply to everySCMSource
.final List<SCMSourceTrait>
SCMSourceBuilder.traits()
Returns theSCMSourceTrait
instances to provide to theSCMSource
(assuming theSCMSource
isSCMSourceTrait
aware.Modifier and TypeMethodDescriptionfinal B
SCMBuilder.withTrait
(SCMSourceTrait trait) Apply theSCMSourceTrait
to thisSCMBuilder
.final C
SCMNavigatorContext.withTrait
(SCMSourceTrait trait) Adds the suppliedSCMSourceTrait
.final B
SCMSourceBuilder.withTrait
(SCMSourceTrait trait) final C
SCMSourceContext.withTrait
(SCMSourceTrait trait) Adds an additionalSCMSourceTrait
.final B
SCMBuilder.withTraits
(SCMSourceTrait... traits) Apply theSCMSourceTrait
instances to thisSCMBuilder
.final C
SCMSourceContext.withTraits
(SCMSourceTrait... traits) Adds additionalSCMSourceTrait
s.Modifier and TypeMethodDescriptionfinal B
SCMBuilder.withTraits
(Collection<SCMSourceTrait> traits) Apply theSCMSourceTrait
instances to thisSCMBuilder
.final C
SCMSourceContext.withTraits
(Collection<SCMSourceTrait> traits) Adds additionalSCMSourceTrait
s.ModifierConstructorDescriptionprotected
SCMSourceTraitDescriptor
(Class<? extends SCMSourceTrait> clazz) Constructor to use when type inference usingSCMSourceTraitDescriptor()
does not work. -
Uses of SCMSourceTrait 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 aSCMSource
with aSCMHeadPrefilter
that filtersSCMHead
instances based on matching wildcard include/exclude rules.