public class TreeFilterMarker extends Object
TreeFilter
during a TreeWalk
for each entry and
returning the result as a bitmask.Constructor and Description |
---|
TreeFilterMarker(TreeFilter[] markTreeFilters)
Construct a TreeFilterMarker.
|
Modifier and Type | Method and Description |
---|---|
int |
getMarks(TreeWalk walk)
Test the filters against the walk.
|
public TreeFilterMarker(TreeFilter[] markTreeFilters)
markTreeFilters
- the filters to use for marking, must not have more elements
than Integer.SIZE
.IllegalArgumentException
- if more tree filters are passed than possiblepublic int getMarks(TreeWalk walk) throws MissingObjectException, IncorrectObjectTypeException, IOException
TreeFilter.include(TreeWalk)
,
ordered by the index for which the tree filters were passed in the
constructor.walk
- the walk from which to test the current entryMissingObjectException
- as thrown by
TreeFilter.include(TreeWalk)
IncorrectObjectTypeException
- as thrown by
TreeFilter.include(TreeWalk)
IOException
- as thrown by
TreeFilter.include(TreeWalk)
Copyright © 2020 Eclipse JGit Project. All rights reserved.