public class JGitCommit extends java.lang.Object implements GitCommit
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId() |
java.lang.String |
getMessage() |
java.util.List<? extends GitCommit> |
getParents()
Gets a list of the parent commits.
|
java.util.Collection<? extends GitTag> |
getTags()
Gets a collection of all tags in the repository that point to this commit.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitid@Nonnull public java.lang.String getId()
getId in interface HasObjectId@Nonnull public java.lang.String getMessage()
getMessage in interface GitCommit@Nonnull public java.util.Collection<? extends GitTag> getTags()
GitCommit@Nonnull public java.util.List<? extends GitCommit> getParents()
GitCommitIf a commit has more than one parent, the commit is a merge commit, and the second and any further parents refer to the merged branch(es).
getParents in interface GitCommitpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object