Package jenkins.scm.api
Class SCMHeadObserver.Collector
java.lang.Object
jenkins.scm.api.SCMHeadObserver
jenkins.scm.api.SCMHeadObserver.Collector
- Enclosing class:
- SCMHeadObserver
An observer that collects the observed
SCMHead
s and SCMRevision
s.-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.scm.api.SCMHeadObserver
SCMHeadObserver.AllFinished, SCMHeadObserver.Any, SCMHeadObserver.Collector, SCMHeadObserver.Filter<O extends SCMHeadObserver>, SCMHeadObserver.Named, SCMHeadObserver.None, SCMHeadObserver.OneFinished, SCMHeadObserver.Selector, SCMHeadObserver.Wrapped<O extends SCMHeadObserver>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
observe
(SCMHead head, SCMRevision revision) Observes a head and current revision.result()
Returns the collected results.Methods inherited from class jenkins.scm.api.SCMHeadObserver
allOf, any, collect, filter, first, getIncludes, isObserving, named, none, select
-
Constructor Details
-
Collector
public Collector()
-
-
Method Details
-
observe
Observes a head and current revision.- Specified by:
observe
in classSCMHeadObserver
- Parameters:
head
- the head.revision
- the revision.
-
result
Returns the collected results.- Returns:
- the collected results.
-