Uses of Class
org.eclipse.jgit.treewalk.filter.TreeFilter
Packages that use TreeFilter
Package
Description
High-level API commands (the porcelain of JGit).
Comparing file contents by computing diffs.
Core API for repository, config, refs, object database.
Walking revision graphs (commit history).
Git submodule support.
Walking and comparing directory/file trees (of commits, file system).
Filters for use in tree walking.
-
Uses of TreeFilter in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with parameters of type TreeFilterModifier and TypeMethodDescriptionDiffCommand.setPathFilter
(TreeFilter pathFilter) Set path filter -
Uses of TreeFilter in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff that return TreeFilterMethods in org.eclipse.jgit.diff with parameters of type TreeFilterModifier and TypeMethodDescriptionDiffEntry.scan
(TreeWalk walk, boolean includeTrees, TreeFilter[] markTreeFilters) Convert the TreeWalk into DiffEntry headers, depending onincludeTrees
it will add tree objects into result or not.void
DiffFormatter.setPathFilter
(TreeFilter filter) Set the filter to produce only specific paths. -
Uses of TreeFilter in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib with parameters of type TreeFilter -
Uses of TreeFilter in org.eclipse.jgit.revwalk
Subclasses of TreeFilter in org.eclipse.jgit.revwalkModifier and TypeClassDescriptionclass
Updates the internal path filter to follow copy/renames.Methods in org.eclipse.jgit.revwalk that return TreeFilterModifier and TypeMethodDescriptionFollowFilter.clone()
Clone this tree filter, including its parameters.RevWalk.getTreeFilter()
Get the tree filter used to simplify commits by modified paths.Methods in org.eclipse.jgit.revwalk with parameters of type TreeFilterModifier and TypeMethodDescriptionvoid
RevWalk.setTreeFilter
(TreeFilter newFilter) Set the tree filter used to simplify commits by modified paths.Constructors in org.eclipse.jgit.revwalk with parameters of type TreeFilterModifierConstructorDescriptionTreeRevFilter
(RevWalk walker, TreeFilter t) Create aRevFilter
from aTreeFilter
. -
Uses of TreeFilter in org.eclipse.jgit.submodule
Methods in org.eclipse.jgit.submodule with parameters of type TreeFilter -
Uses of TreeFilter in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that return TreeFilterMethods in org.eclipse.jgit.treewalk with parameters of type TreeFilterModifier and TypeMethodDescriptionvoid
TreeWalk.setFilter
(TreeFilter newFilter) Set the tree entry filter for this walker. -
Uses of TreeFilter in org.eclipse.jgit.treewalk.filter
Subclasses of TreeFilter in org.eclipse.jgit.treewalk.filterModifier and TypeClassDescriptionclass
Includes a tree entry only if all subfilters include the same tree entry.class
A performance optimized variant ofANY_DIFF
which should be used when among the walked trees there is aDirCacheIterator
and aWorkingTreeIterator
.final class
A filter for extracting changes between two versions of the dircache.class
SkipWorkingTreeIterator
entries that appear in gitignore files.class
Includes an entry only if the subfilter does not include the entry.class
Includes a tree entry if any subfilters include the same tree entry.class
Includes tree entries only if they match the configured path.class
Includes tree entries only if they end with the configured path (suffix match).class
To be used in combination with a DirCacheIterator: includes only tree entries for which 'skipWorkTree' flag is not set.Fields in org.eclipse.jgit.treewalk.filter declared as TreeFilterModifier and TypeFieldDescriptionstatic final TreeFilter
TreeFilter.ALL
Selects all tree entries.static final TreeFilter
TreeFilter.ANY_DIFF
Selects only tree entries which differ between at least 2 trees.static final TreeFilter
InterIndexDiffFilter.INSTANCE
Predefined InterIndexDiffFilter for finding changes between two dircachesMethods in org.eclipse.jgit.treewalk.filter that return TreeFilterModifier and TypeMethodDescriptionIndexDiffFilter.clone()
InterIndexDiffFilter.clone()
NotIgnoredFilter.clone()
NotTreeFilter.clone()
PathSuffixFilter.clone()
SkipWorkTreeFilter.clone()
abstract TreeFilter
TreeFilter.clone()
Clone this tree filter, including its parameters.static TreeFilter
AndTreeFilter.create
(Collection<TreeFilter> list) Create a filter around many filters, all of which must match.static TreeFilter
AndTreeFilter.create
(TreeFilter[] list) Create a filter around many filters, all of which must match.static TreeFilter
AndTreeFilter.create
(TreeFilter a, TreeFilter b) Create a filter with two filters, both of which must match.static TreeFilter
NotTreeFilter.create
(TreeFilter a) Create a filter that negates the result of another filter.static TreeFilter
OrTreeFilter.create
(Collection<TreeFilter> list) Create a filter around many filters, one of which must match.static TreeFilter
OrTreeFilter.create
(TreeFilter[] list) Create a filter around many filters, one of which must match.static TreeFilter
OrTreeFilter.create
(TreeFilter a, TreeFilter b) Create a filter with two filters, one of which must match.static TreeFilter
PathFilterGroup.create
(Collection<PathFilter> paths) Create a collection of path filters.static TreeFilter
PathFilterGroup.createFromStrings
(String... paths) Create a collection of path filters from Java strings.static TreeFilter
PathFilterGroup.createFromStrings
(Collection<String> paths) Create a collection of path filters from Java strings.NotTreeFilter.negate()
TreeFilter.negate()
Create a new filter that does the opposite of this filter.Methods in org.eclipse.jgit.treewalk.filter with parameters of type TreeFilterModifier and TypeMethodDescriptionstatic TreeFilter
AndTreeFilter.create
(TreeFilter[] list) Create a filter around many filters, all of which must match.static TreeFilter
AndTreeFilter.create
(TreeFilter a, TreeFilter b) Create a filter with two filters, both of which must match.static TreeFilter
NotTreeFilter.create
(TreeFilter a) Create a filter that negates the result of another filter.static TreeFilter
OrTreeFilter.create
(TreeFilter[] list) Create a filter around many filters, one of which must match.static TreeFilter
OrTreeFilter.create
(TreeFilter a, TreeFilter b) Create a filter with two filters, one of which must match.Method parameters in org.eclipse.jgit.treewalk.filter with type arguments of type TreeFilterModifier and TypeMethodDescriptionstatic TreeFilter
AndTreeFilter.create
(Collection<TreeFilter> list) Create a filter around many filters, all of which must match.static TreeFilter
OrTreeFilter.create
(Collection<TreeFilter> list) Create a filter around many filters, one of which must match.Constructors in org.eclipse.jgit.treewalk.filter with parameters of type TreeFilterModifierConstructorDescriptionTreeFilterMarker
(TreeFilter[] markTreeFilters) Construct a TreeFilterMarker.