Uses of Class
jenkins.scm.api.trait.SCMSourceBuilder
Packages that use 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
Classes in jenkins.scm.api.trait with type parameters of type SCMSourceBuilderModifier and TypeClassDescriptionclassSCMSourceBuilder<B extends SCMSourceBuilder<B,S>, S extends SCMSource> Builder for aSCMSourceinstance.classSCMSourceDecorator<B extends SCMSourceBuilder<B,S>, S extends SCMSource> A contextual decorator ofSCMSourceBuilderinstances that can be used by aSCMNavigatorTraitfor example to applySCMSourceTraits to a subset of projects.Methods in jenkins.scm.api.trait that return types with arguments of type SCMSourceBuilderModifier and TypeMethodDescriptionClass<? extends SCMSourceBuilder>SCMNavigatorTraitDescriptor.getBuilderClass()Returns the type ofSCMSourceBuilderthat thisSCMNavigatorTraitis applicable to.Methods in jenkins.scm.api.trait with parameters of type SCMSourceBuilderModifier and TypeMethodDescriptionfinal voidSCMSourceDecorator.applyTo(SCMSourceBuilder<?, ?> builder, String projectName) Applies this decorator to the specifiedSCMSourceBuilderfor the supplied project name.final voidSCMNavigatorTrait.applyToBuilder(SCMSourceBuilder<?, ?> builder) Applies this trait to theSCMBuilder.protected voidSCMNavigatorTrait.decorateBuilder(SCMSourceBuilder<?, ?> builder) SPI: Override this method to decorate aSCMBuilder.booleanSCMNavigatorTraitDescriptor.isApplicableToBuilder(SCMSourceBuilder<?, ?> builder) Checks if theSCMNavigatorTraitis relevant to the specifiedSCMSourceBuilder.Method parameters in jenkins.scm.api.trait with type arguments of type SCMSourceBuilderModifier and TypeMethodDescriptionbooleanSCMNavigatorTraitDescriptor.isApplicableToBuilder(Class<? extends SCMSourceBuilder> builderClass) Checks if theSCMNavigatorTraitis relevant to the specified type ofSCMSourceBuilder.