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 FileApi
RestApiException
public DiffInfo diff() throws RestApiException
FileApi
diff
in interface FileApi
RestApiException
public DiffInfo diff(java.lang.String base) throws RestApiException
diff
in interface FileApi
base
- revision id of the revision to be used as the diff baseRestApiException
public DiffInfo diff(int parent) throws RestApiException
diff
in interface FileApi
parent
- 1-based parent number to diff againstRestApiException
public FileApi.DiffRequest diffRequest() throws RestApiException
FileApi
diffRequest
in interface FileApi
RestApiException
public void setReviewed(boolean reviewed) throws RestApiException
FileApi
setReviewed
in interface FileApi
RestApiException
public FileApi.BlameRequest blameRequest() throws RestApiException
FileApi
blameRequest
in interface FileApi
RestApiException