FileApi.BlameRequest, FileApi.DiffRequest, FileApi.NotImplemented| Constructor and Description |
|---|
NotImplemented() |
| Modifier and Type | Method and Description |
|---|---|
FileApi.BlameRequest |
blameRequest()
Creates a request to retrieve the blame information.
|
BinaryResult |
content() |
DiffInfo |
diff()
Diff against the revision's parent version of the file.
|
DiffInfo |
diff(int parent) |
DiffInfo |
diff(java.lang.String base) |
FileApi.DiffRequest |
diffRequest()
Creates a request to retrieve the diff.
|
void |
setReviewed(boolean reviewed)
Set the file reviewed or not reviewed
|
public BinaryResult content() throws RestApiException
content in interface FileApiRestApiExceptionpublic DiffInfo diff() throws RestApiException
FileApidiff in interface FileApiRestApiExceptionpublic DiffInfo diff(java.lang.String base) throws RestApiException
diff in interface FileApibase - revision id of the revision to be used as the diff baseRestApiExceptionpublic DiffInfo diff(int parent) throws RestApiException
diff in interface FileApiparent - 1-based parent number to diff againstRestApiExceptionpublic FileApi.DiffRequest diffRequest() throws RestApiException
FileApidiffRequest in interface FileApiRestApiExceptionpublic void setReviewed(boolean reviewed)
throws RestApiException
FileApisetReviewed in interface FileApiRestApiExceptionpublic FileApi.BlameRequest blameRequest() throws RestApiException
FileApiblameRequest in interface FileApiRestApiException