Class FileApi.NotImplemented
- java.lang.Object
 - 
- com.google.gerrit.extensions.api.changes.FileApi.NotImplemented
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.api.changes.FileApi
FileApi.BlameRequest, FileApi.DiffRequest, FileApi.NotImplemented 
 - 
 
- 
Constructor Summary
Constructors Constructor Description NotImplemented() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileApi.BlameRequestblameRequest()Creates a request to retrieve the blame information.BinaryResultcontent()DiffInfodiff()Diff against the revision's parent version of the file.DiffInfodiff(int parent)DiffInfodiff(String base)FileApi.DiffRequestdiffRequest()Creates a request to retrieve the diff.voidsetReviewed(boolean reviewed)Set the file reviewed or not reviewed 
 - 
 
- 
- 
Method Detail
- 
content
public BinaryResult content() throws RestApiException
- Specified by:
 contentin interfaceFileApi- Throws:
 RestApiException
 
- 
diff
public DiffInfo diff() throws RestApiException
Description copied from interface:FileApiDiff against the revision's parent version of the file.- Specified by:
 diffin interfaceFileApi- Throws:
 RestApiException
 
- 
diff
public DiffInfo diff(String base) throws RestApiException
- Specified by:
 diffin interfaceFileApi- Parameters:
 base- revision id of the revision to be used as the diff base- Throws:
 RestApiException
 
- 
diff
public DiffInfo diff(int parent) throws RestApiException
- Specified by:
 diffin interfaceFileApi- Parameters:
 parent- 1-based parent number to diff against- Throws:
 RestApiException
 
- 
diffRequest
public FileApi.DiffRequest diffRequest() throws RestApiException
Description copied from interface:FileApiCreates a request to retrieve the diff. On the returned request formatting options for the diff can be set.- Specified by:
 diffRequestin interfaceFileApi- Throws:
 RestApiException
 
- 
setReviewed
public void setReviewed(boolean reviewed) throws RestApiExceptionDescription copied from interface:FileApiSet the file reviewed or not reviewed- Specified by:
 setReviewedin interfaceFileApi- Throws:
 RestApiException
 
- 
blameRequest
public FileApi.BlameRequest blameRequest() throws RestApiException
Description copied from interface:FileApiCreates a request to retrieve the blame information. On the returned request formatting options for the blame request can be set.- Specified by:
 blameRequestin interfaceFileApi- Throws:
 RestApiException
 
 - 
 
 -