public abstract class PersonSetFilter extends CommitFilter
| Modifier and Type | Field and Description |
|---|---|
protected Set<org.eclipse.jgit.lib.PersonIdent> |
persons
Persons
|
repository| Constructor and Description |
|---|
PersonSetFilter()
Create a person set filter using a
PersonComparator |
PersonSetFilter(Comparator<org.eclipse.jgit.lib.PersonIdent> comparator)
Create a person set filter using the given comparator
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.eclipse.jgit.lib.PersonIdent |
getPerson(org.eclipse.jgit.revwalk.RevCommit commit)
Get the person from the commit to include in set
|
Set<org.eclipse.jgit.lib.PersonIdent> |
getPersons()
Get persons encountered during commit visiting
|
boolean |
include(org.eclipse.jgit.revwalk.RevWalk walker,
org.eclipse.jgit.revwalk.RevCommit commit) |
CommitFilter |
reset()
Resets the filter state.
|
clone, include, setRepository, setStop, throwIOExceptionprotected final Set<org.eclipse.jgit.lib.PersonIdent> persons
public PersonSetFilter()
PersonComparatorpublic PersonSetFilter(Comparator<org.eclipse.jgit.lib.PersonIdent> comparator)
comparator - 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 CommitFilter reset()
CommitFilterreset in class CommitFilterpublic Set<org.eclipse.jgit.lib.PersonIdent> getPersons()
protected abstract org.eclipse.jgit.lib.PersonIdent getPerson(org.eclipse.jgit.revwalk.RevCommit commit)
commit - Copyright © 2011-2015. All Rights Reserved.