Interface FileApi
- All Known Implementing Classes:
 FileApi.NotImplemented
public interface FileApi
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic classA default implementation which allows source compatibility when adding new methods to the interface. - 
Method Summary
Modifier and TypeMethodDescriptionCreates a request to retrieve the blame information.content()diff()Diff against the revision's parent version of the file.diff(int parent) Diff against the specified parentDiff against the specified baseCreates a request to retrieve the diff.voidsetReviewed(boolean reviewed) Set the file reviewed or not reviewed 
- 
Method Details
- 
content
- Throws:
 RestApiException
 - 
diff
Diff against the revision's parent version of the file.- Throws:
 RestApiException
 - 
diff
Diff against the specified base- Parameters:
 base- revision id of the revision to be used as the diff base- Throws:
 RestApiException
 - 
diff
Diff against the specified parent- Parameters:
 parent- 1-based parent number to diff against- Throws:
 RestApiException
 - 
diffRequest
Creates a request to retrieve the diff. On the returned request formatting options for the diff can be set.- Throws:
 RestApiException
 - 
setReviewed
Set the file reviewed or not reviewed- Throws:
 RestApiException
 - 
blameRequest
Creates a request to retrieve the blame information. On the returned request formatting options for the blame request can be set.- Throws:
 RestApiException
 
 -