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

public Class RevTree

extends RevObject
Class Inheritance
Imports
java.io.IOException, org.eclipse.jgit.errors.IncorrectObjectTypeException, .MissingObjectException, org.eclipse.jgit.lib.AnyObjectId, .Constants

A reference to a tree of subtrees/files.

Field Summary

Inherited from org.eclipse.jgit.revwalk.RevObject:
flagsPARSED

Constructor Summary

AccessConstructor and Description
protected
RevTree(AnyObjectId
object name for the tree.
id
)

Create a new tree reference.

Method Summary

Modifier and TypeMethod and Description
public final int
getType()

Implements abstract org.eclipse.jgit.revwalk.RevObject.getType.

Get Git object type.

pack-priv void
pack-priv void
Inherited from org.eclipse.jgit.revwalk.RevObject:
addaddappendCoreFlagsgetIdhashasAllhasAnyremoveremovetoString

Constructor Detail

RevTreeback to summary
protected RevTree(AnyObjectId id)

Create a new tree reference.

Parameters
id:AnyObjectId

object name for the tree.

Method Detail

getTypeback to summary
public final int getType()

Implements abstract org.eclipse.jgit.revwalk.RevObject.getType.

Doc from org.eclipse.jgit.revwalk.RevObject.getType.

Get Git object type. See org.eclipse.jgit.lib.Constants.

Returns:int

object type

Annotations
@Override
parseBodyback to summary
pack-priv void parseBody(RevWalk walk) throws MissingObjectException, IncorrectObjectTypeException, IOException

Implements abstract org.eclipse.jgit.revwalk.RevObject.parseBody.

Annotations
@Override
parseHeadersback to summary
pack-priv void parseHeaders(RevWalk walk) throws MissingObjectException, IncorrectObjectTypeException, IOException

Implements abstract org.eclipse.jgit.revwalk.RevObject.parseHeaders.

Annotations
@Override