org.eclipse.jgit.lib
Class GitlinkTreeEntry

java.lang.Object
  extended by org.eclipse.jgit.lib.TreeEntry
      extended by org.eclipse.jgit.lib.GitlinkTreeEntry
All Implemented Interfaces:
Comparable

Deprecated. To look up information about a single path, use TreeWalk.forPath(Repository, String, org.eclipse.jgit.revwalk.RevTree). To lookup information about multiple paths at once, use a TreeWalk and obtain the current entry's information from its getter methods.

@Deprecated
public class GitlinkTreeEntry
extends TreeEntry

A tree entry representing a gitlink entry used for submodules. Note. Java cannot really handle these as file system objects.


Constructor Summary
GitlinkTreeEntry(Tree parent, ObjectId id, byte[] nameUTF8)
          Deprecated. Construct a GitlinkTreeEntry with the specified name and SHA-1 in the specified parent
 
Method Summary
 FileMode getMode()
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class org.eclipse.jgit.lib.TreeEntry
compareTo, delete, detachParent, getFullName, getFullNameUTF8, getId, getName, getNameUTF8, getParent, getRepository, isModified, lastChar, rename, rename, setId, setModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GitlinkTreeEntry

public GitlinkTreeEntry(Tree parent,
                        ObjectId id,
                        byte[] nameUTF8)
Deprecated. 
Construct a GitlinkTreeEntry with the specified name and SHA-1 in the specified parent

Parameters:
parent -
id -
nameUTF8 -
Method Detail

getMode

public FileMode getMode()
Deprecated. 
Specified by:
getMode in class TreeEntry
Returns:
mode (type of object)

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.