public static class SCMHeadObserver.OneFinished extends SCMHeadObserver
SCMHeadObserver.AllFinished, SCMHeadObserver.Collector, SCMHeadObserver.OneFinished, SCMHeadObserver.Selector| Constructor and Description |
|---|
SCMHeadObserver.OneFinished(Iterable<SCMHeadObserver> observers)
Constructor.
|
SCMHeadObserver.OneFinished(SCMHeadObserver... observers)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isObserving()
Returns information about whether the observer wants more results.
|
void |
observe(SCMHead head,
SCMRevision revision)
Observes a head and current revision.
|
allOf, collect, first, selectpublic SCMHeadObserver.OneFinished(SCMHeadObserver... observers)
observers - the observers to wrap.public SCMHeadObserver.OneFinished(@NonNull
Iterable<SCMHeadObserver> observers)
observers - the observers to wrap.public void observe(@NonNull
SCMHead head,
@NonNull
SCMRevision revision)
observe in class SCMHeadObserverhead - the head.revision - the revision.public boolean isObserving()
isObserving in class SCMHeadObservertrue if the observer is still observing or false to signal that it is ok to stop early.Copyright © 2004-2013. All Rights Reserved.