public class LongestAuthorNameFilter extends LongestPersonNameFilter
commits, lengthrepository| Constructor and Description |
|---|
LongestAuthorNameFilter() |
| Modifier and Type | Method and Description |
|---|---|
LongestAuthorNameFilter |
clone()
Clones this filter.
|
Set<org.eclipse.jgit.revwalk.RevCommit> |
getCommits()
Get the commits with the longest author name
|
int |
getLength()
Get the length of the longest commit author name
|
protected org.eclipse.jgit.lib.PersonIdent |
getPerson(org.eclipse.jgit.revwalk.RevWalk walker,
org.eclipse.jgit.revwalk.RevCommit commit)
Get person from commit
|
includeinclude, iterator, resetinclude, setRepository, setStop, throwIOExceptionnegate, requiresCommitBody, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected org.eclipse.jgit.lib.PersonIdent getPerson(org.eclipse.jgit.revwalk.RevWalk walker,
org.eclipse.jgit.revwalk.RevCommit commit)
LongestPersonNameFiltergetPerson in class LongestPersonNameFilterpublic Set<org.eclipse.jgit.revwalk.RevCommit> getCommits()
public int getLength()
public LongestAuthorNameFilter 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-2018. All Rights Reserved.