Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.internal.revwalk | |
org.eclipse.jgit.revwalk |
Walking revision graphs (commit history).
|
org.eclipse.jgit.revwalk.filter |
Filters for use in revision walking.
|
Modifier and Type | Method and Description |
---|---|
LogCommand |
LogCommand.setRevFilter(RevFilter aFilter)
Set a filter for the
LogCommand . |
Modifier and Type | Class and Description |
---|---|
class |
AddToBitmapFilter
A RevFilter that adds the visited commits to
bitmap as a side
effect. |
class |
AddUnseenToBitmapFilter
A RevFilter that adds the visited commits to
bitmap as a side
effect. |
Modifier and Type | Method and Description |
---|---|
RevFilter |
AddUnseenToBitmapFilter.clone() |
RevFilter |
AddToBitmapFilter.clone() |
Modifier and Type | Class and Description |
---|---|
class |
TreeRevFilter
Filter applying a
TreeFilter against
changed paths in each commit. |
Modifier and Type | Method and Description |
---|---|
RevFilter |
TreeRevFilter.clone() |
RevFilter |
RevWalk.getRevFilter()
Get the currently configured commit filter.
|
Modifier and Type | Method and Description |
---|---|
void |
RevCommitList.applyFlag(RevFilter matching,
RevFlag flag)
Apply a flag to all commits matching the specified filter.
|
void |
RevCommitList.applyFlag(RevFilter matching,
RevFlag flag,
int rangeBegin,
int rangeEnd)
Apply a flag to all commits matching the specified filter.
|
void |
RevWalk.setRevFilter(RevFilter newFilter)
Set the commit filter for this walker.
|
Modifier and Type | Class and Description |
---|---|
class |
AndRevFilter
Includes a commit only if all subfilters include the same commit.
|
class |
CommitTimeRevFilter
Selects commits based upon the commit time field.
|
class |
MaxCountRevFilter
Limits the number of commits output.
|
class |
NotRevFilter
Includes a commit only if the subfilter does not include the commit.
|
class |
OrRevFilter
Includes a commit if any subfilters include the same commit.
|
class |
PatternMatchRevFilter
Abstract filter that searches text using extended regular expressions.
|
class |
RevFlagFilter
Matches only commits with some/all RevFlags already set.
|
class |
SkipRevFilter
Filter that includes commits after a configured number are skipped.
|
class |
SubStringRevFilter
Abstract filter that searches text using only substring search.
|
Modifier and Type | Field and Description |
---|---|
static RevFilter |
RevFilter.ALL
Default filter that always returns true (thread safe).
|
static RevFilter |
RevFilter.MERGE_BASE
Selects only merge bases of the starting points (thread safe).
|
static RevFilter |
RevFilter.NO_MERGES
Excludes commits with more than one parent (thread safe).
|
static RevFilter |
RevFilter.NONE
Default filter that always returns false (thread safe).
|
static RevFilter |
RevFilter.ONLY_MERGES
Filter including only merge commits, excluding all commits with less than
two parents (thread safe).
|
Modifier and Type | Method and Description |
---|---|
static RevFilter |
CommitTimeRevFilter.after(Date ts)
Create a new filter to select commits after a given date/time.
|
static RevFilter |
CommitTimeRevFilter.after(long ts)
Create a new filter to select commits after a given date/time.
|
static RevFilter |
CommitTimeRevFilter.before(Date ts)
Create a new filter to select commits before a given date/time.
|
static RevFilter |
CommitTimeRevFilter.before(long ts)
Create a new filter to select commits before a given date/time.
|
static RevFilter |
CommitTimeRevFilter.between(Date since,
Date until)
Create a new filter to select commits after or equal a given date/time
since
and before or equal a given date/time until . |
static RevFilter |
CommitTimeRevFilter.between(long since,
long until)
Create a new filter to select commits after or equal a given date/time
since
and before or equal a given date/time until . |
RevFilter |
NotRevFilter.clone() |
RevFilter |
CommitTimeRevFilter.clone() |
abstract RevFilter |
RevFilter.clone() |
RevFilter |
SubStringRevFilter.clone() |
RevFilter |
SkipRevFilter.clone() |
RevFilter |
RevFlagFilter.clone() |
RevFilter |
MaxCountRevFilter.clone() |
static RevFilter |
OrRevFilter.create(Collection<RevFilter> list)
Create a filter around many filters, one of which must match.
|
static RevFilter |
AndRevFilter.create(Collection<RevFilter> list)
Create a filter around many filters, all of which must match.
|
static RevFilter |
SkipRevFilter.create(int skip)
Create a new skip filter.
|
static RevFilter |
MaxCountRevFilter.create(int maxCount)
Create a new max count filter.
|
static RevFilter |
NotRevFilter.create(RevFilter a)
Create a filter that negates the result of another filter.
|
static RevFilter |
OrRevFilter.create(RevFilter[] list)
Create a filter around many filters, one of which must match.
|
static RevFilter |
AndRevFilter.create(RevFilter[] list)
Create a filter around many filters, all of which must match.
|
static RevFilter |
OrRevFilter.create(RevFilter a,
RevFilter b)
Create a filter with two filters, one of which must match.
|
static RevFilter |
AndRevFilter.create(RevFilter a,
RevFilter b)
Create a filter with two filters, both of which must match.
|
static RevFilter |
AuthorRevFilter.create(String pattern)
Create a new author filter.
|
static RevFilter |
CommitterRevFilter.create(String pattern)
Create a new committer filter.
|
static RevFilter |
MessageRevFilter.create(String pattern)
Create a message filter.
|
static RevFilter |
RevFlagFilter.has(RevFlag a)
Create a new filter that tests for a single flag.
|
static RevFilter |
RevFlagFilter.hasAll(RevFlag... a)
Create a new filter that tests all flags in a set.
|
static RevFilter |
RevFlagFilter.hasAll(RevFlagSet a)
Create a new filter that tests all flags in a set.
|
static RevFilter |
RevFlagFilter.hasAny(RevFlag... a)
Create a new filter that tests for any flag in a set.
|
static RevFilter |
RevFlagFilter.hasAny(RevFlagSet a)
Create a new filter that tests for any flag in a set.
|
RevFilter |
NotRevFilter.negate()
Create a new filter that does the opposite of this filter.
|
RevFilter |
RevFilter.negate()
Create a new filter that does the opposite of this filter.
|
Modifier and Type | Method and Description |
---|---|
static RevFilter |
NotRevFilter.create(RevFilter a)
Create a filter that negates the result of another filter.
|
static RevFilter |
OrRevFilter.create(RevFilter[] list)
Create a filter around many filters, one of which must match.
|
static RevFilter |
AndRevFilter.create(RevFilter[] list)
Create a filter around many filters, all of which must match.
|
static RevFilter |
OrRevFilter.create(RevFilter a,
RevFilter b)
Create a filter with two filters, one of which must match.
|
static RevFilter |
AndRevFilter.create(RevFilter a,
RevFilter b)
Create a filter with two filters, both of which must match.
|
Modifier and Type | Method and Description |
---|---|
static RevFilter |
OrRevFilter.create(Collection<RevFilter> list)
Create a filter around many filters, one of which must match.
|
static RevFilter |
AndRevFilter.create(Collection<RevFilter> list)
Create a filter around many filters, all of which must match.
|
Copyright © 2019 Eclipse JGit Project. All rights reserved.