|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbr.com.objectos.git.MutableTree
public final class MutableTree
A mutable Git tree object.
| Method Summary | |
|---|---|
void |
addEntry(Entry entry)
Adds the specified entry to this writable tree. |
void |
addEntry(MutableBlob blob)
Adds the specified blog to this writable tree. |
void |
addEntry(MutableTree tree)
Adds the specified tree to this writable tree. |
int |
compareTo(br.com.objectos.git.AbstractEntry o)
|
void |
formatToString(StringBuilder sb,
int depth)
|
EntryMode |
getMode()
Returns the file mode of this tree entry. |
String |
getName()
Returns the name of this tree entry. |
boolean |
hasName(String expectedName)
Verifies if this tree has the specified name. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final void addEntry(Entry entry)
entry - the entry to be addedpublic final void addEntry(MutableBlob blob)
blob - the blob to be addedpublic final void addEntry(MutableTree tree)
tree - the tree to be added
public final void formatToString(StringBuilder sb,
int depth)
public final EntryMode getMode()
public final String getName()
public final boolean hasName(String expectedName)
expectedName - the name to check for
true if this tree has the specified namepublic final int compareTo(br.com.objectos.git.AbstractEntry o)
compareTo in interface Comparable<br.com.objectos.git.AbstractEntry>public final String toString()
toString in class Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||