Package | Description |
---|---|
org.eclipse.jgit.api | |
org.eclipse.jgit.diff | |
org.eclipse.jgit.lib | |
org.eclipse.jgit.revwalk | |
org.eclipse.jgit.submodule | |
org.eclipse.jgit.treewalk | |
org.eclipse.jgit.treewalk.filter |
Modifier and Type | Method and Description |
---|---|
DiffCommand |
DiffCommand.setPathFilter(TreeFilter pathFilter) |
Modifier and Type | Method and Description |
---|---|
TreeFilter |
DiffFormatter.getPathFilter() |
Modifier and Type | Method and Description |
---|---|
void |
DiffFormatter.setPathFilter(TreeFilter filter)
Set the filter to produce only specific paths.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexDiff.setFilter(TreeFilter filter)
Sets a filter.
|
Modifier and Type | Class and Description |
---|---|
class |
FollowFilter
Updates the internal path filter to follow copy/renames.
|
Modifier and Type | Method and Description |
---|---|
TreeFilter |
FollowFilter.clone() |
TreeFilter |
RevWalk.getTreeFilter()
Get the tree filter used to simplify commits by modified paths.
|
Modifier and Type | Method and Description |
---|---|
void |
RevWalk.setTreeFilter(TreeFilter newFilter)
Set the tree filter used to simplify commits by modified paths.
|
Modifier and Type | Method and Description |
---|---|
SubmoduleWalk |
SubmoduleWalk.setFilter(TreeFilter filter)
Set tree filter
|
Modifier and Type | Method and Description |
---|---|
TreeFilter |
TreeWalk.getFilter()
Get the currently configured filter.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeWalk.setFilter(TreeFilter newFilter)
Set the tree entry filter for this walker.
|
Modifier and Type | Class and Description |
---|---|
class |
AndTreeFilter
Includes a tree entry only if all subfilters include the same tree entry.
|
class |
IndexDiffFilter
A performance optimized variant of
ANY_DIFF which should
be used when among the walked trees there is a DirCacheIterator and a
WorkingTreeIterator . |
class |
NotIgnoredFilter
Skip
WorkingTreeIterator entries that appear in gitignore files. |
class |
NotTreeFilter
Includes an entry only if the subfilter does not include the entry.
|
class |
OrTreeFilter
Includes a tree entry if any subfilters include the same tree entry.
|
class |
PathFilter
Includes tree entries only if they match the configured path.
|
class |
PathSuffixFilter
Includes tree entries only if they match the configured path.
|
class |
SkipWorkTreeFilter
To be used in combination with a DirCacheIterator: includes only tree entries
for which 'skipWorkTree' flag is not set.
|
Modifier and Type | Field and Description |
---|---|
static TreeFilter |
TreeFilter.ALL
Selects all tree entries.
|
static TreeFilter |
TreeFilter.ANY_DIFF
Selects only tree entries which differ between at least 2 trees.
|
Modifier and Type | Method and Description |
---|---|
TreeFilter |
NotIgnoredFilter.clone() |
TreeFilter |
NotTreeFilter.clone() |
abstract TreeFilter |
TreeFilter.clone()
Clone this tree filter, including its parameters.
|
TreeFilter |
SkipWorkTreeFilter.clone() |
TreeFilter |
PathSuffixFilter.clone() |
TreeFilter |
IndexDiffFilter.clone() |
static TreeFilter |
PathFilterGroup.create(java.util.Collection<PathFilter> paths)
Create a collection of path filters.
|
static TreeFilter |
OrTreeFilter.create(java.util.Collection<TreeFilter> list)
Create a filter around many filters, one of which must match.
|
static TreeFilter |
AndTreeFilter.create(java.util.Collection<TreeFilter> list)
Create a filter around many filters, all 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 |
AndTreeFilter.create(TreeFilter[] list)
Create a filter around many filters, all 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 |
AndTreeFilter.create(TreeFilter a,
TreeFilter b)
Create a filter with two filters, both of which must match.
|
static TreeFilter |
PathFilterGroup.createFromStrings(java.util.Collection<java.lang.String> paths)
Create a collection of path filters from Java strings.
|
static TreeFilter |
PathFilterGroup.createFromStrings(java.lang.String... paths)
Create a collection of path filters from Java strings.
|
TreeFilter |
NotTreeFilter.negate() |
TreeFilter |
TreeFilter.negate()
Create a new filter that does the opposite of this filter.
|
Modifier and Type | Method and Description |
---|---|
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 |
AndTreeFilter.create(TreeFilter[] list)
Create a filter around many filters, all 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 |
AndTreeFilter.create(TreeFilter a,
TreeFilter b)
Create a filter with two filters, both of which must match.
|
Modifier and Type | Method and Description |
---|---|
static TreeFilter |
OrTreeFilter.create(java.util.Collection<TreeFilter> list)
Create a filter around many filters, one of which must match.
|
static TreeFilter |
AndTreeFilter.create(java.util.Collection<TreeFilter> list)
Create a filter around many filters, all of which must match.
|
Copyright © 2012. All Rights Reserved.