br.com.objectos.git
Class Tree

java.lang.Object
  extended by br.com.objectos.git.Tree
All Implemented Interfaces:
br.com.objectos.core.object.ToStringObject

public final class Tree
extends Object

An immutable Git tree object.

Since:
1

Method Summary
 void formatToString(StringBuilder sb, int depth)
           
 br.com.objectos.collections.list.ImmutableList<Entry> getEntries()
          Returns the entries of this tree object.
 ObjectId getObjectId()
          Returns an object representing the hash value that uniquely identifies this git object.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

formatToString

public final void formatToString(StringBuilder sb,
                                 int depth)

getEntries

public final br.com.objectos.collections.list.ImmutableList<Entry> getEntries()
Returns the entries of this tree object.

Returns:
the entries of this tree object

getObjectId

public final ObjectId getObjectId()
Returns an object representing the hash value that uniquely identifies this git object.

Returns:
an object representing the hash value

toString

public final String toString()
Overrides:
toString in class Object


Copyright © 2020–2021 Objectos Software LTDA. All rights reserved.