|
||||||||||
| 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
org.gitective.core.filter.tree.TypeCountFilter
public class TypeCountFilter
Tree filter that counts entries visited of a configured type
| Field Summary |
|---|
| Fields inherited from class org.gitective.core.filter.tree.BaseTreeFilter |
|---|
repository |
| Fields inherited from class org.eclipse.jgit.treewalk.filter.TreeFilter |
|---|
ALL, ANY_DIFF |
| Constructor Summary | |
|---|---|
TypeCountFilter(int type)
Create filter that counts the configured type |
|
| Method Summary | |
|---|---|
org.eclipse.jgit.treewalk.filter.TreeFilter |
clone()
Clones the tree filter. |
static TypeCountFilter |
file()
Create filter that counts files |
long |
getCount()
Get entry type count |
int |
getType()
Get type being counted |
boolean |
include(org.eclipse.jgit.treewalk.TreeWalk walker)
|
BaseTreeFilter |
reset()
Reset the filter. |
static TypeCountFilter |
submodule()
Count filter that counts submodules |
static TypeCountFilter |
symlink()
Create filter that counts symbolic links |
static TypeCountFilter |
tree()
Create filter that counts trees |
| Methods inherited from class org.gitective.core.filter.tree.BaseTreeFilter |
|---|
include, include, setRepository, setStop, shouldBeRecursive |
| Methods inherited from class org.eclipse.jgit.treewalk.filter.TreeFilter |
|---|
negate, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TypeCountFilter(int type)
type - | Method Detail |
|---|
public static TypeCountFilter submodule()
public static TypeCountFilter file()
public static TypeCountFilter symlink()
public static TypeCountFilter tree()
public long getCount()
public int getType()
public BaseTreeFilter reset()
BaseTreeFilter
reset in class BaseTreeFilter
public boolean include(org.eclipse.jgit.treewalk.TreeWalk walker)
throws IOException
include in class org.eclipse.jgit.treewalk.filter.TreeFilterIOExceptionpublic org.eclipse.jgit.treewalk.filter.TreeFilter clone()
BaseTreeFilter
The default implementation throws a UnsupportedOperationException
and sub-classes should override if filter cloning is supported.
clone in class BaseTreeFilterTreeFilter.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||