public class ShortestCommitterNameFilter extends ShortestPersonNameFilter
commits, lengthrepository| Constructor and Description |
|---|
ShortestCommitterNameFilter()
Create shortest committer name filter
|
| Modifier and Type | Method and Description |
|---|---|
ShortestCommitterNameFilter |
clone()
Clones this filter.
|
Set<org.eclipse.jgit.revwalk.RevCommit> |
getCommits()
Get the commits with the shortest committer name
|
int |
getLength()
Get the length of the shortest commit committer 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, throwIOExceptionpublic ShortestCommitterNameFilter()
protected org.eclipse.jgit.lib.PersonIdent getPerson(org.eclipse.jgit.revwalk.RevWalk walker,
org.eclipse.jgit.revwalk.RevCommit commit)
ShortestPersonNameFiltergetPerson in class ShortestPersonNameFilterpublic Set<org.eclipse.jgit.revwalk.RevCommit> getCommits()
public int getLength()
public ShortestCommitterNameFilter 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-2016. All Rights Reserved.