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 booleaninclude(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:ObjectFilterDetermine if the named object should be included in the walk.- Specified by:
includein classObjectFilter- Parameters:
walker- the active walker this filter is being invoked from within.objid- the object currently being tested.- Returns:
trueif 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.
-