|
||||||||||
| 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
public abstract class CommitFilter
Base commit filter class with utility methods to be used by sub-classes.
| Field Summary | |
|---|---|
protected org.eclipse.jgit.lib.Repository |
repository
Repository for current walk |
| Fields inherited from class org.eclipse.jgit.revwalk.filter.RevFilter |
|---|
ALL, MERGE_BASE, NO_MERGES, NONE |
| Constructor Summary | |
|---|---|
CommitFilter()
|
|
| Method Summary | |
|---|---|
org.eclipse.jgit.revwalk.filter.RevFilter |
clone()
Clones this filter. |
protected boolean |
include(boolean include)
Return the include value given unless include is false and this filter is configured to stop the search when a commit is not included. |
CommitFilter |
reset()
Resets the filter state. |
CommitFilter |
setRepository(org.eclipse.jgit.lib.Repository repository)
Set the repository for the walk that is about to begin. |
CommitFilter |
setStop(boolean stop)
Set whether the search should be stopped when a commit visited is not included. |
| Methods inherited from class org.eclipse.jgit.revwalk.filter.RevFilter |
|---|
include, negate, requiresCommitBody, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected org.eclipse.jgit.lib.Repository repository
| Constructor Detail |
|---|
public CommitFilter()
| Method Detail |
|---|
public CommitFilter setStop(boolean stop)
stop -
public CommitFilter setRepository(org.eclipse.jgit.lib.Repository repository)
repository -
public CommitFilter reset()
protected boolean include(boolean include)
include -
public org.eclipse.jgit.revwalk.filter.RevFilter clone()
The default implementation throws a UnsupportedOperationException
and sub-classes should override if filter cloning is supported.
clone in class org.eclipse.jgit.revwalk.filter.RevFilterRevFilter.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||