Class FileApi.NotImplemented
java.lang.Object
com.google.gerrit.extensions.api.changes.FileApi.NotImplemented
- All Implemented Interfaces:
FileApi
- Enclosing interface:
- FileApi
A default implementation which allows source compatibility when adding new methods to the
interface.
-
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 -
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
-
Constructor Details
-
NotImplemented
public NotImplemented()
-
-
Method Details
-
content
- Specified by:
contentin interfaceFileApi- Throws:
RestApiException
-
diff
Description copied from interface:FileApiDiff against the revision's parent version of the file.- Specified by:
diffin interfaceFileApi- Throws:
RestApiException
-
diff
Description copied from interface:FileApiDiff against the specified base- Specified by:
diffin interfaceFileApi- Parameters:
base- revision id of the revision to be used as the diff base- Throws:
RestApiException
-
diff
Description copied from interface:FileApiDiff against the specified parent- Specified by:
diffin interfaceFileApi- Parameters:
parent- 1-based parent number to diff against- Throws:
RestApiException
-
diffRequest
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
Description copied from interface:FileApiSet the file reviewed or not reviewed- Specified by:
setReviewedin interfaceFileApi- Throws:
RestApiException
-
blameRequest
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
-