Uses of Class
jenkins.scm.api.trait.SCMNavigatorContext
Package
Description
An API/SPI to allow the sharing of common traits between different
SCMSource
and
SCMNavigator
implementations.-
Uses of SCMNavigatorContext in jenkins.scm.api.trait
Modifier and TypeClassDescriptionclass
SCMNavigatorContext<C extends SCMNavigatorContext<C,
R>, R extends SCMNavigatorRequest> Represents the context within which aSCMNavigator
is processing requests.Modifier and TypeMethodDescriptionClass<? extends SCMNavigatorContext>
SCMNavigatorTraitDescriptor.getContextClass()
Returns the type ofSCMNavigatorContext
that thisSCMNavigatorTrait
is applicable to.Modifier and TypeMethodDescriptionfinal void
SCMNavigatorTrait.applyToContext
(SCMNavigatorContext<?, ?> context) Applies this trait to theSCMNavigatorContext
.protected void
SCMNavigatorTrait.decorateContext
(SCMNavigatorContext<?, ?> context) SPI: Override this method to decorate aSCMNavigatorContext
.boolean
SCMNavigatorTraitDescriptor.isApplicableToContext
(SCMNavigatorContext context) Checks if theSCMNavigatorTrait
is relevant to the specifiedSCMNavigatorContext
.Modifier and TypeMethodDescriptionstatic List<SCMNavigatorTraitDescriptor>
SCMNavigatorTrait._for
(Class<? extends SCMNavigatorContext> contextClass, Class<? extends SCMSourceBuilder> builderClass) Returns the subset ofSCMNavigatorTraitDescriptor
instances that are applicable to the specified types ofSCMNavigatorContext
andSCMSourceBuilder
.static List<SCMNavigatorTraitDescriptor>
SCMNavigatorTrait._for
(SCMNavigatorDescriptor scmNavigator, Class<? extends SCMNavigatorContext> contextClass, Class<? extends SCMSourceBuilder> builderClass) Returns the subset ofSCMNavigatorTraitDescriptor
instances that are applicable to the specifiedSCMNavigatorDescriptor
and specified types ofSCMNavigatorContext
andSCMSourceBuilder
.boolean
SCMNavigatorTraitDescriptor.isApplicableToContext
(Class<? extends SCMNavigatorContext> contextClass) Checks if theSCMNavigatorTrait
is relevant to the specified type ofSCMNavigatorContext
.ModifierConstructorDescriptionprotected
SCMNavigatorRequest
(SCMNavigator source, SCMNavigatorContext<?, ?> context, SCMSourceObserver observer) Constructor. -
Uses of SCMNavigatorContext in jenkins.scm.impl.trait
Modifier and TypeMethodDescriptionprotected void
RegexSCMSourceFilterTrait.decorateContext
(SCMNavigatorContext<?, ?> context) SPI: Override this method to decorate aSCMNavigatorContext
.protected void
WildcardSCMSourceFilterTrait.decorateContext
(SCMNavigatorContext<?, ?> context) SPI: Override this method to decorate aSCMNavigatorContext
.