org.gitective.core.filter.commit
Class CommitMessageFindFilter
java.lang.Object
org.eclipse.jgit.revwalk.filter.RevFilter
org.gitective.core.filter.commit.CommitFilter
org.gitective.core.filter.commit.PatternFindCommitFilter
org.gitective.core.filter.commit.CommitMessageFindFilter
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- BugFilter, BugSetFilter, ChangeIdFilter, SignedOffByFilter
public class CommitMessageFindFilter
- extends PatternFindCommitFilter
Base filter that includes commits where a pattern can be found in a commit's
full message.
| Fields inherited from class org.eclipse.jgit.revwalk.filter.RevFilter |
ALL, MERGE_BASE, NO_MERGES, NONE |
|
Method Summary |
org.eclipse.jgit.revwalk.filter.RevFilter |
clone()
Clones this filter. |
protected CharSequence |
getText(org.eclipse.jgit.revwalk.RevCommit commit)
Get the text from the commit to find the pattern in |
| Methods inherited from class org.eclipse.jgit.revwalk.filter.RevFilter |
negate, requiresCommitBody, toString |
CommitMessageFindFilter
public CommitMessageFindFilter(String pattern)
- Create a commit message pattern filter
- Parameters:
pattern -
CommitMessageFindFilter
public CommitMessageFindFilter(String pattern,
int flags)
- Create a commit message pattern filter
- Parameters:
pattern - flags -
getText
protected CharSequence getText(org.eclipse.jgit.revwalk.RevCommit commit)
- Description copied from class:
PatternFindCommitFilter
- Get the text from the commit to find the pattern in
- Specified by:
getText in class PatternFindCommitFilter
- Returns:
- text
clone
public org.eclipse.jgit.revwalk.filter.RevFilter clone()
- Description copied from class:
CommitFilter
- Clones this filter.
The default implementation throws a UnsupportedOperationException
and sub-classes should override if filter cloning is supported.
- Overrides:
clone in class CommitFilter
- See Also:
RevFilter.clone()
Copyright © 2011-2012. All Rights Reserved.