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()
-
-
Constructor Summary
Constructors Constructor Description GHPullRequestFileDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAdditions()Gets additions.URLgetBlobUrl()Gets blob url.intgetChanges()Gets changes.URLgetContentsUrl()Gets contents url.intgetDeletions()Gets deletions.StringgetFilename()Gets filename.StringgetPatch()Gets patch.StringgetPreviousFilename()Gets previous filename.URLgetRawUrl()Gets raw url.StringgetSha()Gets sha.StringgetStatus()Gets status.
-
-
-
Method Detail
-
getSha
public String getSha()
Gets sha.- Returns:
- the sha
-
getFilename
public String getFilename()
Gets filename.- Returns:
- the filename
-
getStatus
public String getStatus()
Gets status.- 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
-
-