Package org.eclipse.jgit.pgm
Class Glog
- java.lang.Object
-
- org.eclipse.jgit.pgm.TextBuiltin
-
- org.eclipse.jgit.pgm.RevWalkTextBuiltin
-
- org.eclipse.jgit.pgm.Glog
-
class Glog extends RevWalkTextBuiltin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JFrameframe(package private) CommitGraphPanegraphPane-
Fields inherited from class org.eclipse.jgit.pgm.RevWalkTextBuiltin
all, count, objects, outbuffer, parents, pathFilter, walk
-
-
Constructor Summary
Constructors Constructor Description Glog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RevWalkcreateWalk()Create RevWalkprivate java.lang.StringrepoName()protected voidshow(RevCommit c)"Show" the current RevCommit when called from the main processing loop.protected intwalkLoop()Loop the walk-
Methods inherited from class org.eclipse.jgit.pgm.RevWalkTextBuiltin
addAuthorRevFilter, addCMessageRevFilter, addCommitterRevFilter, enableBoundary, enableDateOrder, enableReverse, enableTopoOrder, run, show
-
Methods inherited from class org.eclipse.jgit.pgm.TextBuiltin
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepository, resolve, setCommandName
-
-
-
-
Field Detail
-
frame
final javax.swing.JFrame frame
-
graphPane
final CommitGraphPane graphPane
-
-
Method Detail
-
walkLoop
protected int walkLoop() throws java.lang.ExceptionLoop the walk- Overrides:
walkLoopin classRevWalkTextBuiltin- Returns:
- number of RevCommits walked
- Throws:
java.lang.Exception- if any.
-
show
protected void show(RevCommit c) throws java.lang.Exception
"Show" the current RevCommit when called from the main processing loop.Implement this methods to define the behavior for subclasses of RevWalkTextBuiltin.
- Specified by:
showin classRevWalkTextBuiltin- Parameters:
c- The currentRevCommit- Throws:
java.lang.Exception
-
createWalk
protected RevWalk createWalk()
Create RevWalk- Overrides:
createWalkin classRevWalkTextBuiltin- Returns:
- a
RevWalkobject.
-
repoName
private java.lang.String repoName()
-
-