Uses of Class
jenkins.scm.api.trait.SCMSourceContext
Package
Description
An API/SPI to allow the sharing of common traits between different
SCMSource
and
SCMNavigator
implementations.-
Uses of SCMSourceContext in jenkins.scm.api.trait
Modifier and TypeClassDescriptionclass
SCMSourceContext<C extends SCMSourceContext<C,
R>, R extends SCMSourceRequest> Represents the context within which aSCMSource
is processing requests.Modifier and TypeMethodDescriptionClass<? extends SCMSourceContext>
SCMSourceTraitDescriptor.getContextClass()
Returns the type ofSCMSourceContext
that thisSCMSourceTrait
is applicable to.Modifier and TypeMethodDescriptionfinal void
SCMSourceTrait.applyToContext
(SCMSourceContext<?, ?> context) Applies this trait to theSCMSourceContext
.protected void
SCMSourceTrait.decorateContext
(SCMSourceContext<?, ?> context) SPI: Override this method to decorate aSCMSourceContext
.boolean
SCMSourceTraitDescriptor.isApplicableToContext
(SCMSourceContext context) Checks if theSCMSourceTrait
is relevant to the specifiedSCMSourceContext
.Modifier and TypeMethodDescriptionstatic List<SCMSourceTraitDescriptor>
SCMSourceTrait._for
(Class<? extends SCMSourceContext> contextClass, Class<? extends SCMBuilder> builderClass) Returns the subset ofSCMSourceTraitDescriptor
instances that are applicable to the specified types ofSCMSourceContext
andSCMSourceBuilder
.static List<SCMSourceTraitDescriptor>
SCMSourceTrait._for
(SCMSourceDescriptor scmSource, Class<? extends SCMSourceContext> contextClass, Class<? extends SCMBuilder> builderClass) Returns the subset ofSCMSourceTraitDescriptor
instances that are applicable to the specifiedSCMSourceDescriptor
and specified types ofSCMNavigatorContext
andSCMSourceBuilder
.boolean
SCMSourceTraitDescriptor.isApplicableToContext
(Class<? extends SCMSourceContext> contextClass) Checks if theSCMSourceTrait
is relevant to the specified type ofSCMSourceContext
.ModifierConstructorDescriptionprotected
SCMSourceRequest
(SCMSource source, SCMSourceContext<?, ?> context, TaskListener listener) Constructor. -
Uses of SCMSourceContext in jenkins.scm.impl.trait
Modifier and TypeMethodDescriptionprotected void
RegexSCMHeadFilterTrait.decorateContext
(SCMSourceContext<?, ?> context) SPI: Override this method to decorate aSCMSourceContext
.protected void
WildcardSCMHeadFilterTrait.decorateContext
(SCMSourceContext<?, ?> context) SPI: Override this method to decorate aSCMSourceContext
.