|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.kohsuke.github.GHCommit.File
public static class GHCommit.File
A file that was modified.
| Constructor Summary | |
|---|---|
GHCommit.File()
|
|
| Method Summary | |
|---|---|
URL |
getBlobUrl()
URL like 'https://github.com/jenkinsci/jenkins/blob/1182e2ebb1734d0653142bd422ad33c21437f7cf/core/pom.xml' that resolves to the HTML page that describes this file. |
String |
getFileName()
Just the base name and the extension without any directory name. |
int |
getLinesAdded()
Number of lines added. |
int |
getLinesChanged()
Number of lines added + removed. |
int |
getLinesDeleted()
Number of lines removed. |
String |
getPatch()
The actual change. |
URL |
getRawUrl()
URL like 'https://raw.github.com/jenkinsci/jenkins/4eb17c197dfdcf8ef7ff87eb160f24f6a20b7f0e/core/pom.xml' that resolves to the actual content of the file. |
String |
getSha()
[0-9a-f]{40} SHA1 checksum. |
String |
getStatus()
"modified", "added", or "deleted" |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GHCommit.File()
| Method Detail |
|---|
public int getLinesChanged()
public int getLinesAdded()
public int getLinesDeleted()
public String getStatus()
public String getFileName()
public String getPatch()
public URL getRawUrl()
public URL getBlobUrl()
public String getSha()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||