public class GitCommit
extends java.lang.Object
Constructor and Description |
---|
GitCommit() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(java.lang.String key)
Returns the given metadata value.
|
java.lang.String |
getMessage() |
java.util.Map<java.lang.String,java.lang.String> |
getMetaData()
Returns the meta-data map for the commit.
|
java.lang.String |
getParent()
The hash of the previous version's Commit entry or null if
this Commit has no previous version.
|
java.lang.String |
getTree()
The hash of the directory Tree containing the committed content.
|
void |
put(java.lang.String key,
java.lang.String value)
Adds a metadata value.
|
void |
setMessage(java.lang.String message) |
void |
setParent(java.lang.String parent)
The hash of the previous version's Commit entry or null if
this Commit has no previous version.
|
void |
setTree(java.lang.String tree)
The hash of the directory Tree containing the committed content.
|
java.lang.String |
toString() |
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public java.lang.String getParent()
public void setParent(java.lang.String parent)
public java.lang.String getTree()
public void setTree(java.lang.String tree)
public void put(java.lang.String key, java.lang.String value)
public java.lang.String get(java.lang.String key)
public java.util.Map<java.lang.String,java.lang.String> getMetaData()
public java.lang.String toString()
toString
in class java.lang.Object