FileApi.DiffRequest, FileApi.NotImplemented
Constructor and Description |
---|
NotImplemented() |
Modifier and Type | Method and Description |
---|---|
BinaryResult |
content() |
DiffInfo |
diff()
Diff against the revision's parent version of the file.
|
DiffInfo |
diff(int parent) |
DiffInfo |
diff(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(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