java.lang.Object
org.kohsuke.github.GitCommit
- Direct Known Subclasses:
GHCommit.ShortInfo
The Class GitCommit.
- Author:
- Emily Xia-Reinert
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets author.Gets authored date.Gets commit date.Gets committer.Gets HTML URL.Gets message.Gets node id.getOwner()
Gets owner.Gets the parent SHA 1 s.getSha()
Gets SHA.getSHA1()
Gets SHA1.Gets the tree SHA 1.Gets the tree url.getUrl()
Gets URL.Gets Verification Status.
-
Constructor Details
-
GitCommit
public GitCommit()Instantiates a new git commit.
-
-
Method Details
-
getOwner
Gets owner.- Returns:
- the repository that contains the commit.
-
getSHA1
Gets SHA1.- Returns:
- The SHA1 of this commit
-
getSha
Gets SHA.- Returns:
- The SHA of this commit
-
getNodeId
Gets node id.- Returns:
- The node id of this commit
-
getUrl
Gets URL.- Returns:
- The URL of this commit
-
getHtmlUrl
Gets HTML URL.- Returns:
- The HTML URL of this commit
-
getAuthor
Gets author.- Returns:
- the author
-
getAuthoredDate
Gets authored date.- Returns:
- the authored date
-
getCommitter
Gets committer.- Returns:
- the committer
-
getCommitDate
Gets commit date.- Returns:
- the commit date
-
getMessage
Gets message.- Returns:
- Commit message.
-
getVerification
Gets Verification Status.- Returns:
- the Verification status
-
getTreeSHA1
Gets the tree SHA 1.- Returns:
- the tree SHA 1
-
getTreeUrl
Gets the tree url.- Returns:
- the tree url
-
getParentSHA1s
Gets the parent SHA 1 s.- Returns:
- the parent SHA 1 s
-