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.JFrame
frame
(package private) CommitGraphPane
graphPane
-
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 RevWalk
createWalk()
Create RevWalkprivate java.lang.String
repoName()
protected void
show(RevCommit c)
"Show" the current RevCommit when called from the main processing loop.protected int
walkLoop()
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.Exception
Loop the walk- Overrides:
walkLoop
in 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:
show
in classRevWalkTextBuiltin
- Parameters:
c
- The currentRevCommit
- Throws:
java.lang.Exception
-
createWalk
protected RevWalk createWalk()
Create RevWalk- Overrides:
createWalk
in classRevWalkTextBuiltin
- Returns:
- a
RevWalk
object.
-
repoName
private java.lang.String repoName()
-
-