|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jgit.lib.AnyObjectId
org.eclipse.jgit.lib.ObjectId
org.eclipse.jgit.revwalk.RevObject
org.eclipse.jgit.revwalk.RevCommit
org.eclipse.jgit.revplot.PlotCommit<L>
L - type of lane being used by the plotter.public class PlotCommit<L extends PlotLane>
A commit reference to a commit in the DAG.
PlotCommitList| Constructor Summary | |
|---|---|
protected |
PlotCommit(AnyObjectId id,
Ref[] tags)
Create a new commit. |
| Method Summary | |
|---|---|
PlotCommit |
getChild(int nth)
Get the nth child from this commit's child list. |
int |
getChildCount()
Get the number of child commits listed in this commit. |
L |
getLane()
Obtain the lane this commit has been plotted into. |
boolean |
isChild(PlotCommit c)
Determine if the given commit is a child (descendant) of this commit. |
void |
reset()
Reset this commit to allow another RevWalk with the same instances. |
| Methods inherited from class org.eclipse.jgit.revwalk.RevCommit |
|---|
asCommit, carry, getAuthorIdent, getCommitterIdent, getCommitTime, getEncoding, getFooterLines, getFooterLines, getFooterLines, getFullMessage, getParent, getParentCount, getParents, getRawBuffer, getShortMessage, getTree, getType, toString |
| Methods inherited from class org.eclipse.jgit.revwalk.RevObject |
|---|
add, add, appendCoreFlags, equals, equals, getId, has, hasAll, hasAny, remove, remove |
| Methods inherited from class org.eclipse.jgit.lib.ObjectId |
|---|
equals, fromRaw, fromRaw, fromRaw, fromRaw, fromString, fromString, isId, toObjectId, toString, zeroId |
| Methods inherited from class org.eclipse.jgit.lib.AnyObjectId |
|---|
abbreviate, abbreviate, compareTo, compareTo, copy, copyRawTo, copyRawTo, copyRawTo, copyRawTo, copyTo, copyTo, copyTo, copyTo, equals, getFirstByte, getName, hashCode, name, startsWith |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected PlotCommit(AnyObjectId id,
Ref[] tags)
id - the identity of this commit.tags - the tags associated with this commit, null for no tags| Method Detail |
|---|
public final int getChildCount()
public final PlotCommit getChild(int nth)
nth - child index to obtain. Must be in the range 0 through
getChildCount()-1.
java.lang.ArrayIndexOutOfBoundsException - an invalid child index was specified.public final boolean isChild(PlotCommit c)
c - the commit to test.
public final L getLane()
public void reset()
RevCommit
Subclasses must call super.reset() to ensure the
basic information can be correctly cleared out.
reset in class RevCommit
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||