public class AuthorFilter extends PersonFilter
PersonIdent matches the
name and e-mail address of a commit's author.email, namerepository| Constructor and Description |
|---|
AuthorFilter(org.eclipse.jgit.lib.PersonIdent person)
Create an author filter for the given person
|
AuthorFilter(String name,
String email)
Create an author filter for the given name and e-mail address
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jgit.revwalk.filter.RevFilter |
clone()
Clones this filter.
|
boolean |
include(org.eclipse.jgit.revwalk.RevWalk walker,
org.eclipse.jgit.revwalk.RevCommit commit) |
matchinclude, reset, setRepository, setStop, throwIOExceptionpublic AuthorFilter(org.eclipse.jgit.lib.PersonIdent person)
person - public boolean include(org.eclipse.jgit.revwalk.RevWalk walker,
org.eclipse.jgit.revwalk.RevCommit commit)
throws IOException
include in class org.eclipse.jgit.revwalk.filter.RevFilterIOExceptionpublic org.eclipse.jgit.revwalk.filter.RevFilter clone()
CommitFilter
The default implementation throws a UnsupportedOperationException
and sub-classes should override if filter cloning is supported.
clone in class CommitFilterRevFilter.clone()Copyright © 2011-2015. All Rights Reserved.