Package org.eclipse.jgit.revwalk.filter
Class CommitterRevFilter
- java.lang.Object
-
- org.eclipse.jgit.revwalk.filter.CommitterRevFilter
-
public class CommitterRevFilter extends java.lang.ObjectMatches only commits whose committer name matches the pattern.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classCommitterRevFilter.PatternSearchprivate static classCommitterRevFilter.SubStringSearch
-
Constructor Summary
Constructors Modifier Constructor Description privateCommitterRevFilter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RevFiltercreate(java.lang.String pattern)Create a new committer filter.(package private) static RawCharSequencetextFor(RevCommit cmit)
-
-
-
Method Detail
-
create
public static RevFilter create(java.lang.String pattern)
Create a new committer filter.An optimized substring search may be automatically selected if the pattern does not contain any regular expression meta-characters.
The search is performed using a case-insensitive comparison. The character encoding of the commit message itself is not respected. The filter matches on raw UTF-8 byte sequences.
- Parameters:
pattern- regular expression pattern to match.- Returns:
- a new filter that matches the given expression against the author name and address of a commit.
-
textFor
static RawCharSequence textFor(RevCommit cmit)
-
-