Class FilesInCommitCollection.ListFiles
- java.lang.Object
-
- com.google.gerrit.server.restapi.project.FilesInCommitCollection.ListFiles
-
- All Implemented Interfaces:
RestReadView<CommitResource>
,RestView<CommitResource>
- Enclosing class:
- FilesInCommitCollection
public static final class FilesInCommitCollection.ListFiles extends Object implements RestReadView<CommitResource>
-
-
Constructor Summary
Constructors Constructor Description ListFiles(FileInfoJson fileInfoJson)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
apply(CommitResource resource)
Process the view operation by reading from the resource.
-
-
-
Constructor Detail
-
ListFiles
@Inject public ListFiles(FileInfoJson fileInfoJson)
-
-
Method Detail
-
apply
public Object apply(CommitResource resource) throws PatchListNotAvailableException
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<CommitResource>
- Parameters:
resource
- resource to read.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
PatchListNotAvailableException
-
-