public class PedestrianObjectReachabilityChecker extends Object implements ObjectReachabilityChecker
Constructor and Description |
---|
PedestrianObjectReachabilityChecker(ObjectWalk walk)
New instance of the reachability checker using a existing walk.
|
Modifier and Type | Method and Description |
---|---|
Optional<RevObject> |
areAllReachable(Collection<RevObject> targets,
Stream<RevObject> starters)
Checks that all targets are reachable from the starters.
|
public PedestrianObjectReachabilityChecker(ObjectWalk walk)
walk
- ObjectWalk instance to reuse. Caller retains ownership.public Optional<RevObject> areAllReachable(Collection<RevObject> targets, Stream<RevObject> starters) throws IOException
areAllReachable
in interface ObjectReachabilityChecker
targets
- objects to check for reachability from the startersstarters
- objects known to be reachable to the callerIOException
- Cannot access underlying storageCopyright © 2021 Eclipse JGit Project. All rights reserved.