Top Description Fields Constructors Methods
org.eclipse.jgit.revwalk

pack-priv final Class FixUninterestingGenerator

extends Generator
Class Inheritance
Imports
java.io.IOException, org.eclipse.jgit.errors.IncorrectObjectTypeException, .MissingObjectException

Filters out commits marked RevWalk#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

Modifier and TypeField and Description
private final Generator
Inherited from org.eclipse.jgit.revwalk.Generator:
firstParentHAS_REWRITEHAS_UNINTERESTINGNEEDS_REWRITESORT_COMMIT_TIME_DESCSORT_TOPO

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv RevCommit
next()

Implements abstract org.eclipse.jgit.revwalk.Generator.next.

Return the next commit to the application, or the next generator.

pack-priv int
outputType()

Implements abstract org.eclipse.jgit.revwalk.Generator.outputType.

Obtain flags describing the output behavior of this generator.

Inherited from org.eclipse.jgit.revwalk.Generator:
shareFreeList

Field Detail

pendingback to summary
private final Generator pending

Constructor Detail

FixUninterestingGeneratorback to summary
pack-priv FixUninterestingGenerator(Generator g)

Method Detail

nextback to summary
pack-priv RevCommit next() throws MissingObjectException, IncorrectObjectTypeException, IOException

Implements abstract org.eclipse.jgit.revwalk.Generator.next.

Doc from org.eclipse.jgit.revwalk.Generator.next.

Return the next commit to the application, or the next generator.

Returns:RevCommit

next available commit; null if no more are to be returned.

Annotations
@Override
Exceptions
MissingObjectException:
if an object is missing
IncorrectObjectTypeException:
if an object has an unexpected type
IOException:
if an IO error occurred
outputTypeback to summary
pack-priv int outputType()

Implements abstract org.eclipse.jgit.revwalk.Generator.outputType.

Doc from org.eclipse.jgit.revwalk.Generator.outputType.

Obtain flags describing the output behavior of this generator.

Returns:int

one or more of the constants declared in this class, describing how this generator produces its results.

Annotations
@Override