Package org.kohsuke.github
Class GHPullRequestCommitDetail
- java.lang.Object
-
- org.kohsuke.github.GHPullRequestCommitDetail
-
public class GHPullRequestCommitDetail extends Object
Commit detail inside aGHPullRequest.- Author:
- Luca Milanesio
- See Also:
GHPullRequest#listCommits()
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGHPullRequestCommitDetail.AuthorshipDeprecated.UseGitUserstatic classGHPullRequestCommitDetail.CommitThe type Commit.static classGHPullRequestCommitDetail.CommitPointerThe type CommitPointer.static classGHPullRequestCommitDetail.TreeThe type Tree.
-
Constructor Summary
Constructors Constructor Description GHPullRequestCommitDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLgetApiUrl()Gets api url.URLgetCommentsUrl()Gets comments url.GHPullRequestCommitDetail.CommitgetCommit()Gets commit.GHPullRequestCommitDetail.CommitPointer[]getParents()Get parents commit pointer [ ].StringgetSha()Gets sha.URLgetUrl()Gets url.
-
-
-
Method Detail
-
getSha
public String getSha()
Gets sha.- Returns:
- the sha
-
getCommit
public GHPullRequestCommitDetail.Commit getCommit()
Gets commit.- Returns:
- the commit
-
getApiUrl
public URL getApiUrl()
Gets api url.- Returns:
- the api url
-
getUrl
public URL getUrl()
Gets url.- Returns:
- the url
-
getCommentsUrl
public URL getCommentsUrl()
Gets comments url.- Returns:
- the comments url
-
getParents
public GHPullRequestCommitDetail.CommitPointer[] getParents()
Get parents commit pointer [ ].- Returns:
- the commit pointer [ ]
-
-