|
||||||||||
| 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.PatternFindCommitFilter
public abstract class PatternFindCommitFilter
Base commit filter class that includes commits where a configured pattern can be found.
| Field Summary | |
|---|---|
protected int |
flags
Flags |
protected Matcher |
matcher
Pattern matcher |
protected String |
pattern
Pattern |
| 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 | |
|---|---|
PatternFindCommitFilter(String pattern)
Create a pattern find commit filter |
|
PatternFindCommitFilter(String pattern,
int flags)
Create a pattern find commit filter |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.gitective.core.filter.commit.CommitFilter |
|---|
clone, include, reset, 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 String pattern
protected final int flags
protected final Matcher matcher
| Constructor Detail |
|---|
public PatternFindCommitFilter(String pattern)
pattern -
public PatternFindCommitFilter(String pattern,
int flags)
pattern - flags - | 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.RevFilterIOExceptionprotected abstract CharSequence getText(org.eclipse.jgit.revwalk.RevCommit commit)
commit -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||