Uses of Class
jenkins.scm.api.trait.SCMSourceBuilder
Package
Description
An API/SPI to allow the sharing of common traits between different
SCMSource
and
SCMNavigator
implementations.-
Uses of SCMSourceBuilder in jenkins.scm.api.trait
Modifier and TypeClassDescriptionclass
SCMSourceBuilder<B extends SCMSourceBuilder<B,
S>, S extends SCMSource> Builder for aSCMSource
instance.class
SCMSourceDecorator<B extends SCMSourceBuilder<B,
S>, S extends SCMSource> A contextual decorator ofSCMSourceBuilder
instances that can be used by aSCMNavigatorTrait
for example to applySCMSourceTrait
s to a subset of projects.Modifier and TypeMethodDescriptionClass<? extends SCMSourceBuilder>
SCMNavigatorTraitDescriptor.getBuilderClass()
Returns the type ofSCMSourceBuilder
that thisSCMNavigatorTrait
is applicable to.Modifier and TypeMethodDescriptionfinal void
SCMSourceDecorator.applyTo
(SCMSourceBuilder<?, ?> builder, String projectName) Applies this decorator to the specifiedSCMSourceBuilder
for the supplied project name.final void
SCMNavigatorTrait.applyToBuilder
(SCMSourceBuilder<?, ?> builder) Applies this trait to theSCMBuilder
.protected void
SCMNavigatorTrait.decorateBuilder
(SCMSourceBuilder<?, ?> builder) SPI: Override this method to decorate aSCMBuilder
.boolean
SCMNavigatorTraitDescriptor.isApplicableToBuilder
(SCMSourceBuilder<?, ?> builder) Checks if theSCMNavigatorTrait
is relevant to the specifiedSCMSourceBuilder
.Modifier and TypeMethodDescriptionboolean
SCMNavigatorTraitDescriptor.isApplicableToBuilder
(Class<? extends SCMSourceBuilder> builderClass) Checks if theSCMNavigatorTrait
is relevant to the specified type ofSCMSourceBuilder
.