public abstract class PatternFindCommitFilter extends CommitFilter
| Modifier and Type | Field and Description |
|---|---|
protected int |
flags
Flags
|
protected Matcher |
matcher
Pattern matcher
|
protected String |
pattern
Pattern
|
repository| Constructor and Description |
|---|
PatternFindCommitFilter(String pattern)
Create a pattern find commit filter
|
PatternFindCommitFilter(String pattern,
int flags)
Create a pattern find commit filter
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract CharSequence |
getText(org.eclipse.jgit.revwalk.RevCommit commit)
Get the text from the commit to find the pattern in
|
boolean |
include(org.eclipse.jgit.revwalk.RevWalk walker,
org.eclipse.jgit.revwalk.RevCommit commit) |
clone, include, reset, setRepository, setStop, throwIOExceptionprotected final String pattern
protected final int flags
protected final Matcher matcher
public PatternFindCommitFilter(String pattern)
pattern - public PatternFindCommitFilter(String pattern, int flags)
pattern - flags - 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.RevFilterIOExceptionprotected abstract CharSequence getText(org.eclipse.jgit.revwalk.RevCommit commit)
commit - Copyright © 2011-2015. All Rights Reserved.