Package org.kohsuke.github
Class GHPullRequestFileDetail
- java.lang.Object
-
- org.kohsuke.github.GHPullRequestFileDetail
-
public class GHPullRequestFileDetail extends Object
File detail inside aGHPullRequest
.- Author:
- Julien Henry
- See Also:
GHPullRequest#listFiles()
, List pull requests files
-
-
Constructor Summary
Constructors Constructor Description GHPullRequestFileDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAdditions()
Gets additions.URL
getBlobUrl()
Gets blob url.int
getChanges()
Gets changes.URL
getContentsUrl()
Gets contents url.int
getDeletions()
Gets deletions.String
getFilename()
Gets filename.String
getPatch()
Gets patch.String
getPreviousFilename()
Gets previous filename.URL
getRawUrl()
Gets raw url.String
getSha()
Gets sha of the file (not commit sha).String
getStatus()
Gets status (added/modified/deleted).
-
-
-
Method Detail
-
getSha
public String getSha()
Gets sha of the file (not commit sha).- Returns:
- the sha
- See Also:
- List pull requests files
-
getFilename
public String getFilename()
Gets filename.- Returns:
- the filename
-
getStatus
public String 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
public URL getBlobUrl()
Gets blob url.- Returns:
- the blob url
-
getRawUrl
public URL getRawUrl()
Gets raw url.- Returns:
- the raw url
-
getContentsUrl
public URL getContentsUrl()
Gets contents url.- Returns:
- the contents url
-
getPatch
public String getPatch()
Gets patch.- Returns:
- the patch
-
getPreviousFilename
public String getPreviousFilename()
Gets previous filename.- Returns:
- the previous filename
-
-