public static final class FilesInCommitCollection.ListFiles extends Object implements RestReadView<CommitResource>
Constructor and Description |
---|
ListFiles(FileInfoJson fileInfoJson) |
Modifier and Type | Method and Description |
---|---|
Object |
apply(CommitResource resource)
Process the view operation by reading from the resource.
|
@Inject public ListFiles(FileInfoJson fileInfoJson)
public Object apply(CommitResource resource) throws PatchListNotAvailableException
RestReadView
apply
in interface RestReadView<CommitResource>
resource
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.PatchListNotAvailableException