|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.revwalk.filter.RevFilter
org.gitective.core.filter.commit.CommitFilter
org.gitective.core.filter.commit.PersonSetFilter
public abstract class PersonSetFilter
Commit filter that stores a set of persons encountered while visiting commits.
| Field Summary | |
|---|---|
protected Set<org.eclipse.jgit.lib.PersonIdent> |
persons
Persons |
| Fields inherited from class org.gitective.core.filter.commit.CommitFilter |
|---|
repository |
| Fields inherited from class org.eclipse.jgit.revwalk.filter.RevFilter |
|---|
ALL, MERGE_BASE, NO_MERGES, NONE |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.gitective.core.filter.commit.CommitFilter |
|---|
clone, include, setRepository, setStop |
| Methods inherited from class org.eclipse.jgit.revwalk.filter.RevFilter |
|---|
negate, requiresCommitBody, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final Set<org.eclipse.jgit.lib.PersonIdent> persons
| Constructor Detail |
|---|
public PersonSetFilter()
PersonComparator
public PersonSetFilter(Comparator<org.eclipse.jgit.lib.PersonIdent> comparator)
comparator - | Method Detail |
|---|
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()
CommitFilter
reset 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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||