Package org.eclipse.jgit.pgm
Class RevList
- java.lang.Object
-
- org.eclipse.jgit.pgm.TextBuiltin
-
- org.eclipse.jgit.pgm.RevWalkTextBuiltin
-
- org.eclipse.jgit.pgm.RevList
-
class RevList extends RevWalkTextBuiltin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException
-
-
Constructor Summary
Constructors Constructor Description RevList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidshow(ObjectWalk ow, RevObject obj)"Show" the current RevCommit when called from the main processing loop.protected voidshow(RevCommit c)"Show" the current RevCommit when called from the main processing loop.-
Methods inherited from class org.eclipse.jgit.pgm.RevWalkTextBuiltin
addAuthorRevFilter, addCMessageRevFilter, addCommitterRevFilter, createWalk, enableBoundary, enableDateOrder, enableReverse, enableTopoOrder, run, walkLoop
-
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
-
-
-
-
Method Detail
-
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
-
show
protected void show(ObjectWalk ow, RevObject obj) throws java.lang.Exception
"Show" the current RevCommit when called from the main processing loop.The default implementation does nothing because most subclasses only process RevCommits.
- Overrides:
showin classRevWalkTextBuiltin- Parameters:
ow- theObjectWalkused byRevWalkTextBuiltin.walkLoop()obj- The currentRevObject- Throws:
java.lang.Exception
-
-