Package jenkins.scm.api
Class SCMHeadObserver.None
java.lang.Object
jenkins.scm.api.SCMHeadObserver
jenkins.scm.api.SCMHeadObserver.None
- Enclosing class:
- SCMHeadObserver
An observer that is already finished.
- Since:
- 2.2.0
-
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>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns information about whether the observer wants more results.void
observe
(SCMHead head, SCMRevision revision) Observes a head and current revision.Methods inherited from class jenkins.scm.api.SCMHeadObserver
allOf, any, collect, filter, first, getIncludes, named, none, select
-
Field Details
-
INSTANCE
Singleton.
-
-
Method Details
-
observe
Observes a head and current revision.- Specified by:
observe
in classSCMHeadObserver
- Parameters:
head
- the head.revision
- the revision.
-
isObserving
public boolean isObserving()Returns information about whether the observer wants more results.- Overrides:
isObserving
in classSCMHeadObserver
- Returns:
true
if the observer is still observing orfalse
to signal that it is ok to stop early.
-