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
Filter that excludes objects already in the given bitmap.
-
Field Summary
FieldsFields inherited from class org.eclipse.jgit.revwalk.filter.ObjectFilter
ALL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
include
(ObjectWalk walker, AnyObjectId objid) Determine if the named object should be included in the walk.
-
Field Details
-
bitmap
-
-
Constructor Details
-
BitmapObjectFilter
BitmapObjectFilter(BitmapIndex.BitmapBuilder bitmap)
-
-
Method Details
-
include
public final boolean include(ObjectWalk walker, AnyObjectId objid) throws MissingObjectException, IncorrectObjectTypeException, 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 typeIOException
- an object the filter needed to consult to determine its answer could not be read.
-