Package org.eclipse.jgit.revwalk
Class BitmapWalker.BitmapObjectFilter
- java.lang.Object
-
- org.eclipse.jgit.revwalk.filter.ObjectFilter
-
- org.eclipse.jgit.revwalk.BitmapWalker.BitmapObjectFilter
-
- Enclosing class:
- BitmapWalker
static class BitmapWalker.BitmapObjectFilter extends ObjectFilter
Filter that excludes objects already in the given bitmap.
-
-
Field Summary
Fields Modifier and Type Field Description private BitmapIndex.BitmapBuilder
bitmap
-
Fields inherited from class org.eclipse.jgit.revwalk.filter.ObjectFilter
ALL
-
-
Constructor Summary
Constructors Constructor Description BitmapObjectFilter(BitmapIndex.BitmapBuilder bitmap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
include(ObjectWalk walker, AnyObjectId objid)
Determine if the named object should be included in the walk.
-
-
-
Field Detail
-
bitmap
private final BitmapIndex.BitmapBuilder bitmap
-
-
Constructor Detail
-
BitmapObjectFilter
BitmapObjectFilter(BitmapIndex.BitmapBuilder bitmap)
-
-
Method Detail
-
include
public final boolean include(ObjectWalk walker, AnyObjectId objid) throws MissingObjectException, IncorrectObjectTypeException, java.io.IOException
Description copied from class:ObjectFilter
Determine if the named object should be included in the walk.- Specified by:
include
in classObjectFilter
- Parameters:
walker
- the active walker this filter is being invoked from within.objid
- the object currently being tested.- Returns:
true
if the named object should be included in the walk.- Throws:
MissingObjectException
- an object the filter needed to consult to determine its answer was missingIncorrectObjectTypeException
- an object the filter needed to consult to determine its answer was of the wrong typejava.io.IOException
- an object the filter needed to consult to determine its answer could not be read.
-
-