public class LongestMessageFilter extends CommitFieldLengthFilter
commits, lengthrepository| Constructor and Description |
|---|
LongestMessageFilter() |
| Modifier and Type | Method and Description |
|---|---|
LongestMessageFilter |
clone()
Clones this filter.
|
Set<org.eclipse.jgit.revwalk.RevCommit> |
getCommits()
Get the commits with the longest message length
|
int |
getLength()
Get the length of the longest commit message visited
|
boolean |
include(org.eclipse.jgit.revwalk.RevWalk walker,
org.eclipse.jgit.revwalk.RevCommit commit) |
include, iterator, resetinclude, setRepository, setStop, throwIOExceptionnegate, requiresCommitBody, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic 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 Set<org.eclipse.jgit.revwalk.RevCommit> getCommits()
public int getLength()
public LongestMessageFilter 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-2017. All Rights Reserved.