Package org.eclipse.jgit.revwalk
Class FixUninterestingGenerator
- java.lang.Object
-
- org.eclipse.jgit.revwalk.Generator
-
- org.eclipse.jgit.revwalk.FixUninterestingGenerator
-
final class FixUninterestingGenerator extends Generator
Filters out commits markedRevWalk.UNINTERESTING
.This generator is only in front of another generator that has fully buffered commits, such that we are called only after the
PendingGenerator
has exhausted its input queue and given up. It skips over any uninteresting commits that may have leaked out of the PendingGenerator due to clock skew being detected in the commit objects.
-
-
Field Summary
Fields Modifier and Type Field Description private Generator
pending
-
Fields inherited from class org.eclipse.jgit.revwalk.Generator
firstParent, HAS_REWRITE, HAS_UNINTERESTING, NEEDS_REWRITE, SORT_COMMIT_TIME_DESC, SORT_TOPO
-
-
Constructor Summary
Constructors Constructor Description FixUninterestingGenerator(Generator g)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class org.eclipse.jgit.revwalk.Generator
shareFreeList
-
-
-
-
Field Detail
-
pending
private final Generator pending
-
-
Constructor Detail
-
FixUninterestingGenerator
FixUninterestingGenerator(Generator g)
-
-
Method Detail
-
outputType
int outputType()
Description copied from class:Generator
Obtain flags describing the output behavior of this generator.- Specified by:
outputType
in classGenerator
- Returns:
- one or more of the constants declared in this class, describing how this generator produces its results.
-
next
RevCommit next() throws MissingObjectException, IncorrectObjectTypeException, java.io.IOException
Description copied from class:Generator
Return the next commit to the application, or the next generator.- Specified by:
next
in classGenerator
- Returns:
- next available commit; null if no more are to be returned.
- Throws:
MissingObjectException
IncorrectObjectTypeException
java.io.IOException
-
-