|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbr.com.objectos.git.Commit
public final class Commit
A Git commit object resulting from a read commit operation.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares the specified object with this Git object for equality. |
void |
formatToString(StringBuilder sb,
int depth)
|
Identification |
getAuthor()
Returns the author of this commit. |
Identification |
getCommitter()
Returns the committer of this commit. |
String |
getMessage()
Returns the message of this commit. |
ObjectId |
getObjectId()
Returns the hash value that uniquely identifies this Git object. |
br.com.objectos.collections.list.ImmutableList<ObjectId> |
getParents()
Returns the hash values of the parents of this commit. |
ObjectId |
getTree()
Returns the hash value of the tree object associated to this commit. |
int |
hashCode()
Returns the hash code value of this Git object. |
String |
print()
Returns a string representation of this commit that should be equivalent to the output of the git-cat-file utility when invoked with the
-p option. |
String |
toString()
Returns the string representation of this Git object as defined by the ToStringObject.formatToString(StringBuilder, int) method. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final void formatToString(StringBuilder sb,
int depth)
public final Identification getAuthor()
public final Identification getCommitter()
public final String getMessage()
public final br.com.objectos.collections.list.ImmutableList<ObjectId> getParents()
public final ObjectId getTree()
public final String print()
git-cat-file utility when invoked with the
-p option.
public final boolean equals(Object obj)
Returns true if and only if the specified object is also a Git
object of the same type and if both instances have the same hash value.
equals in class Objectobj - the object to be compared for equality with this Git object
true if the specified object is equal to this Git objectpublic final ObjectId getObjectId()
public final int hashCode()
hashCode in class Objectpublic final String toString()
ToStringObject.formatToString(StringBuilder, int) method.
toString in class Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||