|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.treewalk.filter.TreeFilterMarker
public class TreeFilterMarker
For testing an array of TreeFilter during a TreeWalk for each
entry and returning the result as a bitmask.
| Constructor Summary | |
|---|---|
TreeFilterMarker(TreeFilter[] markTreeFilters)
Construct a TreeFilterMarker. |
|
| Method Summary | |
|---|---|
int |
getMarks(TreeWalk walk)
Test the filters against the walk. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeFilterMarker(TreeFilter[] markTreeFilters)
markTreeFilters - the filters to use for marking, must not have more elements
than Integer.SIZE.
java.lang.IllegalArgumentException - if more tree filters are passed than possible| Method Detail |
|---|
public int getMarks(TreeWalk walk)
throws MissingObjectException,
IncorrectObjectTypeException,
java.io.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 entry
MissingObjectException - as thrown by TreeFilter.include(TreeWalk)
IncorrectObjectTypeException - as thrown by TreeFilter.include(TreeWalk)
java.io.IOException - as thrown by TreeFilter.include(TreeWalk)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||