|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jgit.revwalk.RevWalk
org.eclipse.jgit.revplot.PlotWalk
public class PlotWalk
Specialized RevWalk for visualization of a commit graph.
| Constructor Summary | |
|---|---|
PlotWalk(Repository repo)
Create a new revision walker for a given repository. |
|
| Method Summary | |
|---|---|
protected RevCommit |
createCommit(AnyObjectId id)
Construct a new unparsed commit for the given object. |
void |
dispose()
Dispose all internal state and invalidate all RevObject instances. |
protected Ref[] |
getTags(AnyObjectId commitId)
|
void |
sort(RevSort s,
boolean use)
Add or remove a sorting strategy for the returned commits. |
| Methods inherited from class org.eclipse.jgit.revwalk.RevWalk |
|---|
assertNotStarted, carry, carry, disposeFlag, getRepository, getRevFilter, getRevSort, getTreeFilter, hasRevSort, isMergedInto, isRetainBody, iterator, lookupAny, lookupBlob, lookupCommit, lookupTree, markStart, markStart, markUninteresting, newFlag, next, parseAny, parseBody, parseCommit, parseHeaders, parseTree, reset, reset, resetRetain, resetRetain, setRetainBody, setRevFilter, setTreeFilter, sort |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlotWalk(Repository repo)
repo - the repository the walker will obtain data from.| Method Detail |
|---|
public void dispose()
RevWalkAll RevObject (and thus RevCommit, etc.) instances previously acquired from this RevWalk are invalidated by a dispose call. Applications must not retain or use RevObject instances obtained prior to the dispose call. All RevFlag instances are also invalidated, and must not be reused.
dispose in class RevWalk
public void sort(RevSort s,
boolean use)
RevWalk
Multiple strategies can be applied at once, in which case some strategies
may take precedence over others. As an example, RevSort.TOPO must
take precedence over RevSort.COMMIT_TIME_DESC, otherwise it
cannot enforce its ordering.
sort in class RevWalks - a sorting strategy to enable or disable.use - true if this strategy should be used, false if it should be
removed.protected RevCommit createCommit(AnyObjectId id)
RevWalk
createCommit in class RevWalkid - the object this walker requires a commit reference for.
protected Ref[] getTags(AnyObjectId commitId)
commitId -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||