public class AuthorRevFilter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
AuthorRevFilter.PatternSearch |
private static class |
AuthorRevFilter.SubStringSearch |
Modifier | Constructor and Description |
---|---|
private |
AuthorRevFilter() |
Modifier and Type | Method and Description |
---|---|
static RevFilter |
create(java.lang.String pattern)
Create a new author filter.
|
(package private) static RawCharSequence |
textFor(RevCommit cmit) |
public static RevFilter create(java.lang.String pattern)
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.
pattern
- regular expression pattern to match.static RawCharSequence textFor(RevCommit cmit)