Package org.kohsuke.github
Class GHCommit.ShortInfo
- java.lang.Object
-
- org.kohsuke.github.GitCommit
-
- org.kohsuke.github.GHCommit.ShortInfo
-
-
Constructor Summary
Constructors Constructor Description ShortInfo()Creates instance ofGHCommit.ShortInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCommentCount()Gets comment count.List<String>getParentSHA1s()Gets the parent SHA 1 s.-
Methods inherited from class org.kohsuke.github.GitCommit
getAuthor, getAuthoredDate, getCommitDate, getCommitter, getHtmlUrl, getMessage, getNodeId, getOwner, getSha, getSHA1, getTreeSHA1, getTreeUrl, getUrl, getVerification
-
-
-
-
Constructor Detail
-
ShortInfo
public ShortInfo()
Creates instance ofGHCommit.ShortInfo.
-
-
Method Detail
-
getCommentCount
public int getCommentCount() throws GHExceptionGets comment count.- Returns:
- the comment count
- Throws:
GHException- the GH exception
-
getParentSHA1s
public List<String> getParentSHA1s()
Gets the parent SHA 1 s.- Overrides:
getParentSHA1sin classGitCommit- Returns:
- the parent SHA 1 s
-
-