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
SCM
instance.Abstraction to allow pluggable definitions of trust forSCMHead
andSCMRevision
instances in the context of a specificSCMSourceRequest
.Descriptor
base class forSCMHeadAuthority
implementations.ASCMSourceRequest
dependent filter ofSCMHead
instances.ASCMSourceRequest
independent filter ofSCMHead
instances.Represents the context within which aSCMNavigator
is 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 theSCMSource
instance 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 forDescriptor
ofSCMNavigatorTrait
implementations.Builder for aSCMSource
instance.Represents the context within which aSCMSource
is processing requests.A contextual decorator ofSCMSourceBuilder
instances that can be used by aSCMNavigatorTrait
for example to applySCMSourceTrait
s to a subset of projects.ASCMNavigatorRequest
dependent filter of project names.ASCMNavigatorRequest
independent 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.Probe
andSCMRevision
instances.A lambda that will create theSCMRevision
instance for a specificSCMHead
using the intermediate value produced by aSCMSourceRequest.IntermediateLambda
.A lambda that will create aSCMSourceCriteria.Probe
(ideally aSCMProbe
but for legacy code migration we useSCMSourceCriteria.Probe
) for a specifiedSCMHead
and either aSCMRevision
or some other type created by aSCMSourceRequest.IntermediateLambda
.A lambda that will create theSCMRevision
instance 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 forDescriptor
ofSCMSourceTrait
implementations.Base class for common traits.SCMTraitDescriptor<T extends SCMTrait<T>>Abstract base class forDescriptor
ofSCMTrait
implementations.