class StartGenerator extends Generator
Initially RevWalk starts with this generator as its chosen implementation.
The first request for a RevCommit from the RevWalk instance calls to our
next() method, and we replace ourselves with the best Generator
implementation available based upon the current RevWalk configuration.
| Modifier and Type | Field and Description |
|---|---|
private RevWalk |
walker |
HAS_REWRITE, HAS_UNINTERESTING, NEEDS_REWRITE, SORT_COMMIT_TIME_DESC, SORT_TOPO| Constructor and Description |
|---|
StartGenerator(RevWalk w) |
| Modifier and Type | Method and Description |
|---|---|
(package private) RevCommit |
next()
Return the next commit to the application, or the next generator.
|
(package private) int |
outputType()
Obtain flags describing the output behavior of this generator.
|
shareFreeListprivate final RevWalk walker
StartGenerator(RevWalk w)
int outputType()
GeneratoroutputType in class GeneratorRevCommit next() throws MissingObjectException, IncorrectObjectTypeException, java.io.IOException
Generatornext in class GeneratorMissingObjectExceptionIncorrectObjectTypeExceptionjava.io.IOException