Interface FileApi
- All Known Implementing Classes:
- FileApi.NotImplemented
public interface FileApi
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic classA default implementation which allows source compatibility when adding new methods to the interface.
- 
Method SummaryModifier 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
 
- 
diffDiff against the revision's parent version of the file.- Throws:
- RestApiException
 
- 
diffDiff against the specified base- Parameters:
- base- revision id of the revision to be used as the diff base
- Throws:
- RestApiException
 
- 
diffDiff against the specified parent- Parameters:
- parent- 1-based parent number to diff against
- Throws:
- RestApiException
 
- 
diffRequestCreates a request to retrieve the diff. On the returned request formatting options for the diff can be set.- Throws:
- RestApiException
 
- 
setReviewedSet the file reviewed or not reviewed- Throws:
- RestApiException
 
- 
blameRequestCreates a request to retrieve the blame information. On the returned request formatting options for the blame request can be set.- Throws:
- RestApiException
 
 
-