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.void
setReviewed
(boolean reviewed) Set the file reviewed or not reviewed
-
Constructor Details
-
NotImplemented
public NotImplemented()
-
-
Method Details
-
content
- Specified by:
content
in interfaceFileApi
- Throws:
RestApiException
-
diff
Description copied from interface:FileApi
Diff against the revision's parent version of the file.- Specified by:
diff
in interfaceFileApi
- Throws:
RestApiException
-
diff
Description copied from interface:FileApi
Diff against the specified base- Specified by:
diff
in interfaceFileApi
- Parameters:
base
- revision id of the revision to be used as the diff base- Throws:
RestApiException
-
diff
Description copied from interface:FileApi
Diff against the specified parent- Specified by:
diff
in interfaceFileApi
- Parameters:
parent
- 1-based parent number to diff against- Throws:
RestApiException
-
diffRequest
Description copied from interface:FileApi
Creates a request to retrieve the diff. On the returned request formatting options for the diff can be set.- Specified by:
diffRequest
in interfaceFileApi
- Throws:
RestApiException
-
setReviewed
Description copied from interface:FileApi
Set the file reviewed or not reviewed- Specified by:
setReviewed
in interfaceFileApi
- Throws:
RestApiException
-
blameRequest
Description copied from interface:FileApi
Creates a request to retrieve the blame information. On the returned request formatting options for the blame request can be set.- Specified by:
blameRequest
in interfaceFileApi
- Throws:
RestApiException
-