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 Objectapply(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:RestReadViewProcess the view operation by reading from the resource.- Specified by:
applyin interfaceRestReadView<CommitResource>- Parameters:
resource- resource to read.- Returns:
- result to return to the client. Use
BinaryResultto avoid automatic conversion to JSON. - Throws:
PatchListNotAvailableException
-
-