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

pack-priv Class BoundaryGenerator

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
pack-priv Generator
g

pack-priv static final int
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.

pack-priv void
shareFreeList(BlockRevQueue
another FIFO queue that wants to share our queue's free list.
q
)

Overrides org.eclipse.jgit.revwalk.Generator.shareFreeList.

Connect the supplied queue to this generator's own free list (if any).

Field Detail

gback to summary
pack-priv Generator g
UNINTERESTINGback to summary
pack-priv static final int UNINTERESTING

Constructor Detail

BoundaryGeneratorback to summary
pack-priv BoundaryGenerator(RevWalk w, Generator s)

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
shareFreeListback to summary
pack-priv void shareFreeList(BlockRevQueue q)

Overrides org.eclipse.jgit.revwalk.Generator.shareFreeList.

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

Connect the supplied queue to this generator's own free list (if any).

Parameters
q:BlockRevQueue

another FIFO queue that wants to share our queue's free list.

Annotations
@Override
org.eclipse.jgit.revwalk back to summary

private Class BoundaryGenerator.InitialGenerator

extends Generator
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final int
private final FIFORevQueue
private static final int
private final Generator
private final RevWalk
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.

pack-priv void
shareFreeList(BlockRevQueue
another FIFO queue that wants to share our queue's free list.
q
)

Overrides org.eclipse.jgit.revwalk.Generator.shareFreeList.

Connect the supplied queue to this generator's own free list (if any).

Field Detail

DUPLICATEback to summary
private static final int DUPLICATE
heldback to summary
private final FIFORevQueue held
PARSEDback to summary
private static final int PARSED
sourceback to summary
private final Generator source
walkback to summary
private final RevWalk walk

Constructor Detail

InitialGeneratorback to summary
pack-priv InitialGenerator(RevWalk w, Generator s)

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
shareFreeListback to summary
pack-priv void shareFreeList(BlockRevQueue q)

Overrides org.eclipse.jgit.revwalk.Generator.shareFreeList.

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

Connect the supplied queue to this generator's own free list (if any).

Parameters
q:BlockRevQueue

another FIFO queue that wants to share our queue's free list.

Annotations
@Override