Uses of Class
jenkins.scm.api.SCMHeadObserver
Package
Description
The public API contract of the SCM API plugin.
An API/SPI to allow the sharing of common traits between different
SCMSource
and
SCMNavigator
implementations.The common implementations of classes in the public API.
-
Uses of SCMHeadObserver in jenkins.scm.api
Modifier and TypeClassDescriptionstatic class
SCMHeadObserver.Filter<O extends SCMHeadObserver>
ASCMHeadObserver
that filters theSCMHead
instances that will be observed by the wrappedSCMHeadObserver
.static class
SCMHeadObserver.Wrapped<O extends SCMHeadObserver>
Base class for anSCMHeadObserver
that wraps anotherSCMHeadObserver
while allowing access to the original observer viaSCMHeadObserver.Wrapped.unwrap()
.Modifier and TypeClassDescriptionstatic class
An observer that wraps multiple observers and keeps observing as long as one of the wrapped observers wants to.static class
An observer that picks the first revision it can find.static class
An observer that collects the observedSCMHead
s andSCMRevision
s.static class
SCMHeadObserver.Filter<O extends SCMHeadObserver>
ASCMHeadObserver
that filters theSCMHead
instances that will be observed by the wrappedSCMHeadObserver
.static class
An observer that collects theSCMRevision
of a namedSCMHead
and then stops observing.static final class
An observer that is already finished.static class
An observer that wraps multiple observers and keeps observing until one of the wrapped observers stops observing.static class
An observer that collects theSCMRevision
of a specificSCMHead
and then stops observing.static class
SCMHeadObserver.Wrapped<O extends SCMHeadObserver>
Base class for anSCMHeadObserver
that wraps anotherSCMHeadObserver
while allowing access to the original observer viaSCMHeadObserver.Wrapped.unwrap()
.Modifier and TypeMethodDescriptionfinal <O extends SCMHeadObserver>
OSCMSource.fetch
(SCMSourceCriteria criteria, O observer, TaskListener listener) Fetches the latest heads and corresponding revisions.final <O extends SCMHeadObserver>
OSCMSource.fetch
(SCMSourceCriteria criteria, O observer, SCMHeadEvent<?> event, TaskListener listener) Fetches the latest heads and corresponding revisions scoped against a specific event.final <O extends SCMHeadObserver>
OSCMSource.fetch
(O observer, TaskListener listener) Fetches the latest heads and corresponding revisions.final <O extends SCMHeadObserver>
OSCMSource.fetch
(O observer, SCMHeadEvent<?> event, TaskListener listener) Fetches the latest heads and corresponding revisions scoped against a specific event.<O extends SCMHeadObserver>
SCMHeadObserver.Wrapped<O>Wraps aSCMHeadObserver
such that the wrapped observer will only observeSCMHead
instances mentioned in this event.static <O extends SCMHeadObserver>
SCMHeadObserver.Filter<O>Creates an observer that filters a delegates observer to the specified headsModifier and TypeMethodDescriptionstatic SCMHeadObserver.AllFinished
SCMHeadObserver.allOf
(SCMHeadObserver... observers) Wraps multiple observers returning a combined observer that remains observing as long as at least one of the wrapped observers is still observing.static SCMHeadObserver.OneFinished
SCMHeadObserver.first
(SCMHeadObserver... observers) Wraps multiple observers returning a combined observer that remains observing until one of the wrapped observers stops observing.protected void
SCMSource.retrieve
(SCMHeadObserver observer, TaskListener listener) Deprecated.protected void
SCMSource.retrieve
(SCMSourceCriteria criteria, SCMHeadObserver observer, TaskListener listener) Deprecated.protected abstract void
SCMSource.retrieve
(SCMSourceCriteria criteria, SCMHeadObserver observer, SCMHeadEvent<?> event, TaskListener listener) SPI: Fetches the latest heads and corresponding revisions that are originating from the supplied event.ModifierConstructorDescriptionAllFinished
(SCMHeadObserver... observers) Constructor.OneFinished
(SCMHeadObserver... observers) Constructor.ModifierConstructorDescriptionAllFinished
(Iterable<SCMHeadObserver> observers) Constructor.OneFinished
(Iterable<SCMHeadObserver> observers) Constructor. -
Uses of SCMHeadObserver in jenkins.scm.api.trait
Modifier and TypeMethodDescriptionfinal SCMHeadObserver
SCMSourceTrait.applyToObserver
(SCMHeadObserver observer) Applies this trait to an observer for use during aSCMSourceRequest
.protected SCMHeadObserver
SCMSourceTrait.decorateObserver
(SCMHeadObserver observer) SPI: Override this method to decorate theSCMHeadObserver
used during aSCMSourceRequest
.final SCMHeadObserver
SCMSourceContext.observer()
Returns theSCMHeadObserver
.Modifier and TypeMethodDescriptionfinal SCMHeadObserver
SCMSourceTrait.applyToObserver
(SCMHeadObserver observer) Applies this trait to an observer for use during aSCMSourceRequest
.protected SCMHeadObserver
SCMSourceTrait.decorateObserver
(SCMHeadObserver observer) SPI: Override this method to decorate theSCMHeadObserver
used during aSCMSourceRequest
.ModifierConstructorDescriptionSCMSourceContext
(SCMSourceCriteria criteria, SCMHeadObserver observer) Constructor. -
Uses of SCMHeadObserver in jenkins.scm.impl
Modifier and TypeMethodDescriptionprotected void
NullSCMSource.retrieve
(SCMSourceCriteria criteria, SCMHeadObserver observer, SCMHeadEvent<?> event, TaskListener listener) SPI: Fetches the latest heads and corresponding revisions that are originating from the supplied event.protected void
SingleSCMSource.retrieve
(SCMSourceCriteria criteria, SCMHeadObserver observer, SCMHeadEvent<?> event, TaskListener listener)
SCMSource.retrieve(SCMSourceCriteria, SCMHeadObserver, SCMHeadEvent, TaskListener)