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.FileApiFileApi.DiffRequest, FileApi.NotImplemented
 
- 
 - 
Constructor SummaryConstructors Constructor Description NotImplemented()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description 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- 
contentpublic BinaryResult content() throws RestApiException - Specified by:
- contentin interface- FileApi
- Throws:
- RestApiException
 
 - 
diffpublic DiffInfo diff() throws RestApiException Description copied from interface:FileApiDiff against the revision's parent version of the file.- Specified by:
- diffin interface- FileApi
- Throws:
- RestApiException
 
 - 
diffpublic DiffInfo diff(String base) throws RestApiException - Specified by:
- diffin interface- FileApi
- Parameters:
- base- revision id of the revision to be used as the diff base
- Throws:
- RestApiException
 
 - 
diffpublic DiffInfo diff(int parent) throws RestApiException - Specified by:
- diffin interface- FileApi
- Parameters:
- parent- 1-based parent number to diff against
- Throws:
- RestApiException
 
 - 
diffRequestpublic 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 interface- FileApi
- Throws:
- RestApiException
 
 - 
setReviewedpublic void setReviewed(boolean reviewed) throws RestApiExceptionDescription copied from interface:FileApiSet the file reviewed or not reviewed- Specified by:
- setReviewedin interface- FileApi
- Throws:
- RestApiException
 
 
- 
 
-