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 class
GHPullRequestCommitDetail.Authorship
Deprecated.UseGitUser
static class
GHPullRequestCommitDetail.Commit
The type Commit.static class
GHPullRequestCommitDetail.CommitPointer
The type CommitPointer.static class
GHPullRequestCommitDetail.Tree
The type Tree.
-
Constructor Summary
Constructors Constructor Description GHPullRequestCommitDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
getApiUrl()
Gets api url.URL
getCommentsUrl()
Gets comments url.GHPullRequestCommitDetail.Commit
getCommit()
Gets commit.GHPullRequestCommitDetail.CommitPointer[]
getParents()
Get parents commit pointer [ ].String
getSha()
Gets sha.URL
getUrl()
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 [ ]
-
-