Package jenkins.scm.api.trait
package jenkins.scm.api.trait
An API/SPI to allow the sharing of common traits between different
SCMSource and
SCMNavigator implementations.- Since:
- 2.2.0
-
ClassDescriptionBuilder for a
SCMinstance.Abstraction to allow pluggable definitions of trust forSCMHeadandSCMRevisioninstances in the context of a specificSCMSourceRequest.Descriptorbase class forSCMHeadAuthorityimplementations.ASCMSourceRequestdependent filter ofSCMHeadinstances.ASCMSourceRequestindependent filter ofSCMHeadinstances.Represents the context within which aSCMNavigatoris processing requests.Represents the context of an individual request for a call toSCMNavigator.visitSources(SCMSourceObserver)or an equivalent method.A lambda that will create the map of attributes for a specific project name.A lambda that will create theSCMSourceinstance for a specific project name.Callback lambda to track the results ofSCMNavigatorRequest.process(String, SourceLambda, AttributeLambda, Witness...)orSCMNavigatorRequest.process(String, List, List, Witness...)Represents a trait of behaviour or configuration that can be applied to aSCMSource.Abstract base class forDescriptorofSCMNavigatorTraitimplementations.Builder for aSCMSourceinstance.Represents the context within which aSCMSourceis processing requests.A contextual decorator ofSCMSourceBuilderinstances that can be used by aSCMNavigatorTraitfor example to applySCMSourceTraits to a subset of projects.ASCMNavigatorRequestdependent filter of project names.ASCMNavigatorRequestindependent filter of project names.Represents the context of an individual request for a call toSCMSource.retrieve(SCMSourceCriteria, SCMHeadObserver, SCMHeadEvent, TaskListener)or an equivalent method.A lambda that produces an intermediate summary used to drive creation of theSCMSourceCriteria.ProbeandSCMRevisioninstances.A lambda that will create theSCMRevisioninstance for a specificSCMHeadusing the intermediate value produced by aSCMSourceRequest.IntermediateLambda.A lambda that will create aSCMSourceCriteria.Probe(ideally aSCMProbebut for legacy code migration we useSCMSourceCriteria.Probe) for a specifiedSCMHeadand either aSCMRevisionor some other type created by aSCMSourceRequest.IntermediateLambda.A lambda that will create theSCMRevisioninstance for a specificSCMHead.Callback lambda to track the results ofSCMSourceRequest.process(SCMHead, IntermediateLambda, ProbeLambda, LazyRevisionLambda, Witness[])Represents a trait of behaviour or configuration that can be applied to aSCMSource.Abstract base class forDescriptorofSCMSourceTraitimplementations.Base class for common traits.SCMTraitDescriptor<T extends SCMTrait<T>>Abstract base class forDescriptorofSCMTraitimplementations.