java.lang.Object
org.kohsuke.github.GHPullRequestFileDetail
File detail inside a
GHPullRequest
.- Author:
- Julien Henry
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GHPullRequestFileDetail
public GHPullRequestFileDetail()Create default GHPullRequestFileDetail instance
-
-
Method Details
-
getSha
Gets sha of the file (not commit sha).- Returns:
- the sha
- See Also:
-
getFilename
Gets filename.- Returns:
- the filename
-
getStatus
Gets status (added/modified/deleted).- Returns:
- the status
-
getAdditions
public int getAdditions()Gets additions.- Returns:
- the additions
-
getDeletions
public int getDeletions()Gets deletions.- Returns:
- the deletions
-
getChanges
public int getChanges()Gets changes.- Returns:
- the changes
-
getBlobUrl
Gets blob url.- Returns:
- the blob url
-
getRawUrl
Gets raw url.- Returns:
- the raw url
-
getContentsUrl
Gets contents url.- Returns:
- the contents url
-
getPatch
Gets patch.- Returns:
- the patch
-
getPreviousFilename
Gets previous filename.- Returns:
- the previous filename
-