|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.treewalk.filter.TreeFilter
org.gitective.core.filter.tree.BaseTreeFilter
public abstract class BaseTreeFilter
Base tree filter to be extended by sub-classes.
| Field Summary | |
|---|---|
protected org.eclipse.jgit.lib.Repository |
repository
Repository for current walk |
| Fields inherited from class org.eclipse.jgit.treewalk.filter.TreeFilter |
|---|
ALL, ANY_DIFF |
| Constructor Summary | |
|---|---|
BaseTreeFilter()
|
|
| Method Summary | |
|---|---|
org.eclipse.jgit.treewalk.filter.TreeFilter |
clone()
Clones the tree filter. |
protected boolean |
include(boolean include)
Return the include value given unless include is false and this filter is configured to stop the search when a commit is not included. |
boolean |
include(org.eclipse.jgit.revwalk.RevWalk commitWalk,
org.eclipse.jgit.revwalk.RevCommit commit,
org.eclipse.jgit.treewalk.TreeWalk treeWalk)
Include tree walk from commit and rev walk |
BaseTreeFilter |
reset()
Reset the filter. |
BaseTreeFilter |
setRepository(org.eclipse.jgit.lib.Repository repository)
Set the repository for the walk that is about to begin. |
BaseTreeFilter |
setStop(boolean stop)
Set whether the search should be stopped when a commit visited is not included. |
boolean |
shouldBeRecursive()
|
| Methods inherited from class org.eclipse.jgit.treewalk.filter.TreeFilter |
|---|
include, negate, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected org.eclipse.jgit.lib.Repository repository
| Constructor Detail |
|---|
public BaseTreeFilter()
| Method Detail |
|---|
public BaseTreeFilter setStop(boolean stop)
stop -
public BaseTreeFilter setRepository(org.eclipse.jgit.lib.Repository repository)
repository -
public boolean include(org.eclipse.jgit.revwalk.RevWalk commitWalk,
org.eclipse.jgit.revwalk.RevCommit commit,
org.eclipse.jgit.treewalk.TreeWalk treeWalk)
throws IOException
commitWalk - commit - treeWalk -
IOExceptionTreeFilter.include(TreeWalk)protected boolean include(boolean include)
include -
public BaseTreeFilter reset()
public boolean shouldBeRecursive()
shouldBeRecursive in class org.eclipse.jgit.treewalk.filter.TreeFilterpublic org.eclipse.jgit.treewalk.filter.TreeFilter clone()
The default implementation throws a UnsupportedOperationException
and sub-classes should override if filter cloning is supported.
clone in class org.eclipse.jgit.treewalk.filter.TreeFilterTreeFilter.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||